作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

1

... ... @@ -220,7 +220,7 @@ class Cart extends Api
*/
public function pay()
{
$data = $this->request->post();
$data = $this->request->param();
empty($data['cart_ids']) && $this->error(__('参数【cart_ids】不能为空'));
$order = $this->model->getList($this->user,['id'=>['in',$data['cart_ids']]],$data);
if (!$this->request->isPost()) {
... ...