This commit is contained in:
hujiabin 2024-08-14 14:59:34 +08:00
parent e3f859acb8
commit ac5831e776
2 changed files with 3 additions and 3 deletions

View File

@ -21,10 +21,10 @@ class Shop(object):
]
},
{
'name': 'buyGoods',
'name': 'buyGoodsS',
'desc': '购买商品',
'group': 'Shop',
'url': 'webapp/index.php?c=Shop&a=buyGoods',
'surl': 'webapp/index.php?c=Shop&a=buyGoodsS',
'params': [
_common.ReqHead(),
['goods_id', '', '商品唯一id'],

View File

@ -44,7 +44,7 @@ class ShopController extends BaseAuthedController {
);
}
public function buyGoods()
public function buyGoodsS()
{
$goodsId = getReqVal('goods_id', 0);
$goodsNum = getReqVal('goods_num', 0);