...
|
...
|
@@ -470,13 +470,14 @@ class Goods extends Api |
|
|
// 发送模板消息
|
|
|
$send_data = array(
|
|
|
"first" => '您好,您有一个未处理的客服留言!',
|
|
|
"keyword1" => $param['content'],
|
|
|
"keyword2" => $param['mobile'],
|
|
|
"keyword3" => date('Y年m月d日 H:i',time()),
|
|
|
"keyword1" => '客服留言',
|
|
|
"keyword2" => $param['content'],
|
|
|
"keyword3" => $this->auth->nickname,
|
|
|
"keyword4" => $param['mobile'],
|
|
|
"remark" => ['请尽快处理!','#FF0000'],
|
|
|
);
|
|
|
$url = $this->request->root(true).'/admininfo.php/index/login';
|
|
|
(new \app\index\controller\Ajax)->wxsendmessage(config('option.examine_openid'),$send_data,config('option.template')['examine'],$url);
|
|
|
(new \app\index\controller\Ajax)->wxsendmessage(config('option.examine_openid'),$send_data,config('option.template')['service_msg'],$url);
|
|
|
Db::commit();
|
|
|
} catch (PDOException $e) {
|
|
|
Db::rollback();
|
...
|
...
|
|