This commit is contained in:
songliang 2023-06-30 14:19:09 +08:00
parent 33f49a7063
commit 76b1596381

View File

@ -434,11 +434,11 @@ class ShopController extends BaseAuthedController
$address = myself()->_getAddress(); $address = myself()->_getAddress();
if (empty($address)) { if (empty($address)) {
$this->_rspErr(1, "address is empty"); $address = myself()->_getAccountId();
return;
} }
$chk = SqlHelper::insert( $chk = SqlHelper::insert(
$conn, $conn,
't_shop_buy_order', 't_shop_buy_order',