作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

合并分支 'heshupeng' 到 'master'

模板消息测试



查看合并请求 !314
... ... @@ -528,11 +528,10 @@ class House extends Api
}else{
Db::name('user')->where('id',$param['user_id'])->update(['mobile'=>$param['phone']]);
// 发送模板消息
$user = $this->auth->getUser();
$send_data = array(
"first" => '您好,您有一个未处理的申请!',
"keyword1" => $user['nickname'],
"keyword2" => $user['mobile'],
"keyword1" => $param['name'],
"keyword2" => $param['phone'],
"keyword3" => date('Y年m月s日 H:i',time()),
"remark" => '请尽快处理!',
);
... ...
... ... @@ -363,11 +363,10 @@ class Store extends Api
$model = new StoreApply();
$result = $model->add($param);
// 发送模板消息
$user = $this->auth->getUser();
$send_data = array(
"first" => '您好,您有一个未处理的申请!',
"keyword1" => $user['nickname'],
"keyword2" => $user['mobile'],
"keyword1" => $param['name'],
"keyword2" => $param['mobile'],
"keyword3" => date('Y年m月s日 H:i',time()),
"remark" => '请尽快处理!',
);
... ... @@ -771,11 +770,10 @@ class Store extends Api
$res_log = Db::name('user_score_log')->insert($insert_data);
}
// 发送模板消息
$user = $this->auth->getUser();
$send_data = array(
"first" => '您好,您有一个未处理的申请!',
"keyword1" => $user['nickname'],
"keyword2" => $user['mobile'],
"keyword1" => $store['name'],
"keyword2" => $store['mobile'],
"keyword3" => date('Y年m月s日 H:i',time()),
"remark" => '请尽快处理!',
);
... ...