...
|
...
|
@@ -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()) {
|
...
|
...
|
|