...
|
...
|
@@ -54,7 +54,7 @@ class Cart extends Api |
|
|
})
|
|
|
*/
|
|
|
public function getCartNum(){
|
|
|
$this->success(__('成功'),$this->model->where(['user_id'=>$this->user['id'],'isbuynow'=>'0'])->sum('goods_num'));
|
|
|
$this->success(__('成功'),$this->model->where(['user_id'=>$this->auth->id,'isbuynow'=>'0'])->sum('goods_num'));
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|