...
|
...
|
@@ -19,7 +19,8 @@ class Test extends Api |
|
|
* 测试方法
|
|
|
*/
|
|
|
public function test($user_id,$score){
|
|
|
\app\common\model\User::score($score,$user_id,'测试');
|
|
|
halt($this->user);
|
|
|
$this->model->where('user_id',$this->user['id'])->where('isbuynow','0')->sum('goods_num');
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|