|
@@ -404,9 +404,9 @@ class Goods extends Api |
|
@@ -404,9 +404,9 @@ class Goods extends Api |
404
|
*/
|
404
|
*/
|
405
|
public function buyNow()
|
405
|
public function buyNow()
|
406
|
{
|
406
|
{
|
407
|
- $goods_id = $this->request->request('goods_id');
|
|
|
408
|
- $goods_num = $this->request->request('goods_num');
|
|
|
409
|
- $goods_sku_id = $this->request->request('goods_sku_id');
|
407
|
+ $goods_id = $this->request->param('goods_id');
|
|
|
408
|
+ $goods_num = $this->request->param('goods_num');
|
|
|
409
|
+ $goods_sku_id = $this->request->param('goods_sku_id');
|
410
|
|
410
|
|
411
|
$order = $this->model->getBuyNow($this->user_id, $goods_id, $goods_num, $goods_sku_id);
|
411
|
$order = $this->model->getBuyNow($this->user_id, $goods_id, $goods_num, $goods_sku_id);
|
412
|
|
412
|
|