...
|
...
|
@@ -18,7 +18,7 @@ class Test extends Api |
|
|
/**
|
|
|
* 测试方法
|
|
|
*/
|
|
|
public function test($user_id,$score){
|
|
|
public function test(){
|
|
|
dump($this->auth->getUser());
|
|
|
echo '<br>';
|
|
|
halt(\app\common\model\Cart::where('user_id',$this->auth->getUser()['id'])->where('isbuynow','0')->sum('goods_num'));
|
...
|
...
|
|