| xqd
@@ -1715,6 +1715,9 @@ class AlbumController extends Controller
|
|
|
case 7;
|
|
|
$content = '有用户点击了您的号码';
|
|
|
break;
|
|
|
+ case 8;
|
|
|
+ $content = '有用户点击了您的号码';
|
|
|
+ break;
|
|
|
}
|
|
|
$weChatApp = AlbumManufacturerModel::where('store_id', $storeid)->first();
|
|
|
$config = [
|
| xqd
@@ -1724,7 +1727,7 @@ class AlbumController extends Controller
|
|
|
];
|
|
|
$app = Factory::officialAccount($config);
|
|
|
$text = new Text($content);
|
|
|
- $app->customer_service->message($text)->to($g_open_id)->send();
|
|
|
+ $res_msg = $app->customer_service->message($text)->to($g_open_id)->send();\Log::info($res_msg);
|
|
|
$this->wechat_app = AlbumManufacturerModel::where('store_id',$storeid)->first();
|
|
|
$config = [
|
|
|
'app_id' => $this->wechat_app->app_id,
|