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

1

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