diff --git a/webapp/controller/MallController.class.php b/webapp/controller/MallController.class.php index 0384702f..96d7be4f 100644 --- a/webapp/controller/MallController.class.php +++ b/webapp/controller/MallController.class.php @@ -10,8 +10,11 @@ require_once('services/LogService.php'); use models\BcOrder; use phpcommon\SqlHelper; + use models\Transaction; + use services\LogService; +use services\BlockChainService; class MallController extends BaseAuthedController { @@ -265,7 +268,7 @@ class MallController extends BaseAuthedController { $this->_rspOk(); } - public function buy() + public function buyProduct() { $address = $this->_getAddress(); if (!$address) {