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