添加个人中心功能
This commit is contained in:
@@ -42,7 +42,7 @@ class Cart extends ApiBase
|
||||
if (true !== $check) {
|
||||
$this->_error($check);
|
||||
}
|
||||
$res = CartLogic::add($post['item_id'], $post['goods_num'], $this->user_id);
|
||||
$res = CartLogic::add($post['item_id'], $post['goods_num'], $this->user_id, $post['type']);
|
||||
if ($res === true) {
|
||||
$this->_success('加入成功');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user