diff --git a/service/Application/Home/Controller/BuyController.class.php b/service/Application/Home/Controller/BuyController.class.php index acd9bcf2d..e2e3ea63e 100644 --- a/service/Application/Home/Controller/BuyController.class.php +++ b/service/Application/Home/Controller/BuyController.class.php @@ -79,6 +79,7 @@ class BuyController extends CommonController $this->assign('base', $base); $this->assign('goods_list', $ret['data']); + $this->assign('params', $params); $this->display('Index'); } else { $this->assign('msg', isset($ret['msg']) ? $ret['msg'] : L('common_param_error')); @@ -89,5 +90,24 @@ class BuyController extends CommonController $this->display('/Public/TipsError'); } } + + /** + * 订单添加 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2018-09-25 + * @desc description + */ + public function Add() + { + if(IS_POST) + { + print_r($_POST); + } else { + $this->assign('msg', L('common_unauthorized_access')); + $this->display('/Public/TipsError'); + } + } } ?> \ No newline at end of file diff --git a/service/Application/Home/View/Default/Buy/Index.html b/service/Application/Home/View/Default/Buy/Index.html index e3de1d3c4..8851fdc58 100644 --- a/service/Application/Home/View/Default/Buy/Index.html +++ b/service/Application/Home/View/Default/Buy/Index.html @@ -27,7 +27,7 @@