|
|
@@ -204,10 +204,11 @@ class WxOpenController extends PublicController
|
|
|
//零售商公众号
|
|
|
$wxBaseId = $open['wxBaseId'] ?? 0;
|
|
|
$msg = '零售商公众号绑定成功';
|
|
|
+ } elseif ($id == 'mall') {
|
|
|
+ //商城公众号
|
|
|
+ $wxBaseId = $open['wxBaseId'] ?? 0;
|
|
|
+ $msg = '商城公众号绑定成功';
|
|
|
} else {
|
|
|
-
|
|
|
- }
|
|
|
- if (empty($wxBaseId)) {
|
|
|
util::stop('没有公众号信息...');
|
|
|
}
|
|
|
WxBaseClass::updateById($wxBaseId, [
|