|
|
@@ -153,8 +153,10 @@ class WxOpenController extends PublicController
|
|
|
//零售店
|
|
|
$wxMiniBaseId = $open['wxMiniBaseId'] ?? 0;
|
|
|
$msg = '零售店小程序绑定成功';
|
|
|
- }
|
|
|
- if (empty($wxMiniBaseId)) {
|
|
|
+ } elseif ($id == 'mall') {
|
|
|
+ $wxMiniBaseId = $open['wxMiniBaseId'] ?? 0;
|
|
|
+ $msg = '商城小程序绑定成功';
|
|
|
+ } else {
|
|
|
util::stop('没有小程序信息...');
|
|
|
}
|
|
|
$miniInfo = WxMiniBaseClass::getById($wxMiniBaseId);
|