|
|
|
@ -71,12 +71,12 @@ class Wxserver extends BaseController |
|
|
|
|
$model = new WxserverAccount(); |
|
|
|
|
$model->update($up, ['appid' => $appid]); |
|
|
|
|
} |
|
|
|
|
echo 'success'; |
|
|
|
|
} elseif ($data['MsgType'] == 'text') { |
|
|
|
|
echo $this->responseText($data); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
echo 'success'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private function responseText($data): string |
|
|
|
|