mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Push.php
This commit is contained in:
parent
b8a2ded908
commit
0a9c6f0fe7
@ -93,7 +93,7 @@ class Push extends Controller
|
|||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
if ($this->request->has('json', 'post') && WechatService::instance()->getType() === 'thr') {
|
if (WechatService::instance()->getType() === 'thr') {
|
||||||
$this->forceJson = true; // 强制回复 JSON 到 SERVICE
|
$this->forceJson = true; // 强制回复 JSON 到 SERVICE
|
||||||
$this->forceCustom = false; // 强制使用客服消息模式推送
|
$this->forceCustom = false; // 强制使用客服消息模式推送
|
||||||
$this->appid = $this->request->post('appid', '', null);
|
$this->appid = $this->request->post('appid', '', null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user