diff --git a/doc/Shop.py b/doc/Shop.py index 2d9bb711..060283a8 100644 --- a/doc/Shop.py +++ b/doc/Shop.py @@ -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'], diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 3d475ec9..25064759 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -44,7 +44,7 @@ class ShopController extends BaseAuthedController { ); } - public function buyGoods() + public function buyGoodsS() { $goodsId = getReqVal('goods_id', 0); $goodsNum = getReqVal('goods_num', 0);