Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
0ffc64cc
Commit
0ffc64cc
authored
Apr 10, 2018
by
wangjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提醒文案 时间
parent
27ebedcf
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
196 additions
and
335 deletions
+196
-335
aa.html
aa.html
+145
-334
User.php
e/extend/internalApi/bbs/User.php
+50
-0
news.js
skin/default/js/news.js
+1
-1
No files found.
aa.html
View file @
0ffc64cc
This diff is collapsed.
Click to expand it.
e/extend/internalApi/bbs/User.php
0 → 100644
View file @
0ffc64cc
<?php
/**
* Created by PhpStorm.
* User: pader
* Date: 2017/8/23
* Time: 11:28
*/
namespace
internalApi\bbs
;
use
internalApi\base\Client
;
class
User
extends
Client
{
/**
* 同步更新用户基本信息
*
* @param int $uid
* @param array $data
* @return bool
*/
public
static
function
updateSync
(
$uid
,
$data
)
{
return
self
::
call
(
'user.updateSync'
,
compact
(
'uid'
,
'data'
));
}
/**
* 获取金币
* @param $uid
* @return mixed
*/
public
static
function
getGoldCoin
(
$uid
)
{
return
self
::
call
(
'user.getGoldCoin'
,
compact
(
'uid'
));
}
/**
* @param string $telephone 手机号
* @param int $num 加减的数量 +-num
* @param string $title 记录标题 例如 完工奖励
* @param string $text 记录内容 例如 完成工单奖励金钱+<span>5<span>
* @return mixed
*/
public
static
function
updateGoldCoin
(
$telephone
,
$num
,
$title
,
$text
){
return
self
::
call
(
'user.updateGoldCoin'
,
compact
(
'telephone'
,
'num'
,
'title'
,
'text'
));
}
}
\ No newline at end of file
skin/default/js/news.js
View file @
0ffc64cc
...
...
@@ -197,7 +197,7 @@ function cookieTips() {
if
(
obj
)
{
obj
=
JSON
.
parse
(
obj
);
var
desc
=
'金币 +'
+
obj
.
number
;
Banshou
.
creditTip
(
obj
.
title
,
desc
,
2
000
);
Banshou
.
creditTip
(
obj
.
title
,
desc
,
3
000
);
deleteCookie
(
'creditNotice'
,
'/'
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment