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