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