From b02ca69e68d9a302dcd41970f6fc7a5aed3c5a08 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 5 Aug 2023 08:09:43 +0800 Subject: [PATCH] 1 --- webapp/controller/MallController.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) {