From 46df586839a5b2e67c39a47616e4afdb5c31a4a9 Mon Sep 17 00:00:00 2001 From: songliang Date: Tue, 4 Jul 2023 14:35:43 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 5f961977..e73465cb 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -402,7 +402,7 @@ class ShopController extends BaseAuthedController { $address = $this->_getAddress(); if (empty($address)) { - $this->_rspErr(2, 'address is empty'); + $this->_rspErr(3, 'address is empty'); return; } @@ -446,7 +446,7 @@ class ShopController extends BaseAuthedController { $address = $this->_getAddress(); if (empty($address)) { - $this->_rspErr(2, 'address is empty'); + $this->_rspErr(4, 'address is empty'); return; } $id = getReqVal('id', 0); @@ -669,7 +669,7 @@ class ShopController extends BaseAuthedController $account = $this->_getAccountId(); $address = $this->_getAddress(); if (empty($address)) { - $this->_rspErr(2, 'address is empty'); + $this->_rspErr(5, 'address is empty'); return; }