|
|
@@ -171,6 +171,7 @@ class WxController extends PublicController
|
|
|
}
|
|
|
}
|
|
|
} elseif ($style == dict::getDict('ptStyle', 'mall')) {
|
|
|
+ Yii::info(33333);
|
|
|
//商城
|
|
|
if ($this->msgType == 'event') {
|
|
|
switch ($Event) {
|
|
|
@@ -210,7 +211,7 @@ class WxController extends PublicController
|
|
|
$sjId = $merchant['id'];
|
|
|
$merchantExtend = xhMerchantExtendService::getBySjId($sjId);
|
|
|
}
|
|
|
- $user = xhUserService::getByOpenId($this->fromUsername, $sjId);
|
|
|
+ $user = xhUserService::getByOpenId($this->fromUsername);
|
|
|
$userId = 0;
|
|
|
$userAsset = [];
|
|
|
if (!empty($user)) {
|