Commit 6b8df0d9 authored by 杨培's avatar 杨培

更新了提醒服务积分部分的数据结构

parent 495f9e22
...@@ -22,12 +22,11 @@ class Notice extends Client ...@@ -22,12 +22,11 @@ class Notice extends Client
* *
* @param int $uid * @param int $uid
* @param string $action 动作文字,如“发表帖子” * @param string $action 动作文字,如“发表帖子”
* @param int $creditType 积分类型,1扳手值,2扳手币,其它可扩展 * @param array $credits 变化积分数字,以积分序号对应数字的形式
* @param int $num 积分变动数量
*/ */
public static function addCredit($uid, $action, $creditType, $num) public static function addCredit($uid, $action, $credits)
{ {
self::call('notice.addCredit', compact('uid', 'action', 'creditType', 'num')); self::call('notice.addCredit', compact('uid', 'action', 'credits'));
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment