wang hou sheng 10 months ago
parent 1d7ffefcb9
commit e3febe7a41
  1. 2
      app/api/controller/Wxserver.php

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

Loading…
Cancel
Save