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

合并分支 'heshupeng' 到 'master'

模板消息字体颜色



查看合并请求 !321
... ... @@ -164,7 +164,7 @@ class Store extends Backend
"first" => '恭喜您,商户申请审核通过!',
"keyword1" => $row->store_name,
"keyword2" => date('Y-m-s',time()),
"remark" => ['点击进入商户后台','#F00'],
"remark" => ['点击进入商户后台','#FF0000'],
);
$openid = Db::name('third')->where('user_id',$row->user_id)->value('openid');
$url = 'http://community.t.brotop.cn/admininfo.php';
... ...
... ... @@ -130,7 +130,7 @@ class StoreInform extends Backend
"first" => '您的广告投放已出结果。',
"keyword1" => $row->content,
"keyword2" => '审核通过',
"remark" => ['点击查看详情','#F00'],
"remark" => ['点击查看详情','#FF0000'],
);
$this->wxsendmessage($openid,$send_data,config('option.template')['ad_pass'],$url);
}
... ... @@ -157,7 +157,7 @@ class StoreInform extends Backend
"keyword1" => $row->content,
"keyword2" => $nickname,
"keyword3" => '您的广告未通过',
"remark" => ['您的广告未通过审核, 请您重新申请。','#F00'],
"remark" => ['您的广告未通过审核, 请您重新申请。','#FF0000'],
);
$this->wxsendmessage($openid,$send_data,config('option.template')['ad_fail'],$url);
}
... ...
... ... @@ -124,7 +124,7 @@ class UserHouse extends Backend
"first" => '尊敬的业主,您已成功认证为实名房间业主身份,认证信息如下:',
"keyword1" => $row->name,
"keyword2" => $row->phone,
"remark" => ['请仔细核对以上信息,如有不符,请与相关物业人员反馈,谢谢!','#F00'],
"remark" => ['请仔细核对以上信息,如有不符,请与相关物业人员反馈,谢谢!','#FF0000'],
);
$openid = Db::name('third')->where('user_id',$row->user_id)->value('openid');
// 把用户的当前社区改为审核成功的小区
... ...
... ... @@ -529,7 +529,7 @@ class Hot extends Api
"first" => '您有一条新的消息',
'keyword1' => $param['content'] ? $param['content'] : '【图片消息】',
"keyword2" => date('Y-m-s H:i:s',time()),
"remark" => ['点击查看详情','#F00'],
"remark" => ['点击查看详情','#FF0000'],
);
$openid = Db::name('third')->where('user_id',$store['user_id'])->value('openid');
$url = config('option.vue_url') . '/messageto?is_template=1&id='.$msg_id;
... ...
... ... @@ -533,7 +533,7 @@ class House extends Api
"keyword1" => $param['name'],
"keyword2" => $param['phone'],
"keyword3" => date('Y年m月s日 H:i',time()),
"remark" => ['请尽快处理!','#F00'],
"remark" => ['请尽快处理!','#FF0000'],
);
$url = 'http://community.t.brotop.cn/admininfo.php';
(new \app\index\controller\Ajax)->wxsendmessage('otlkQ0l4L3wsmz8dhDIbHJQVJnI8',$send_data,config('option.template')['examine'],$url);
... ...
... ... @@ -434,7 +434,7 @@ class HouseAdmin extends Api
"keyword1" => $post['title'],
"keyword2" => date('Y-m-s H:i:s',time()),
"keyword3" => $post['content'],
"remark" => ['点击查看详情','#F00'],
"remark" => ['点击查看详情','#FF0000'],
);
foreach ($user_id_arr as $user_id) {
$openid = Db::name('third')->where('user_id',$user_id)->value('openid');
... ...
... ... @@ -427,7 +427,7 @@ class HouseBoard extends Api
"first" => '您有一条新的消息',
'keyword1' => $param['content'] ? $param['content'] : '【图片消息】',
"keyword2" => date('Y-m-s H:i:s',time()),
"remark" => ['点击查看详情','#F00'],
"remark" => ['点击查看详情','#FF0000'],
);
$openid = Db::name('third')->where('user_id',$param['house_user_id'])->value('openid');
$url = config('option.vue_url') . '/liuyanxiaoxi?is_template=1&id='.$message_id;
... ...
... ... @@ -765,7 +765,7 @@ class Store extends Api
"keyword1" => $store['name'],
"keyword2" => $store['mobile'],
"keyword3" => date('Y年m月s日 H:i',time()),
"remark" => ['请尽快处理!','#F00'],
"remark" => ['请尽快处理!','#FF0000'],
);
$url = 'http://community.t.brotop.cn/admininfo.php';
(new \app\index\controller\Ajax)->wxsendmessage('otlkQ0l4L3wsmz8dhDIbHJQVJnI8',$send_data,config('option.template')['examine'],$url);
... ... @@ -1378,7 +1378,7 @@ class Store extends Api
"first" => '您有一条新的消息',
'keyword1' => $param['content'] ? $param['content'] : '【图片消息】',
"keyword2" => date('Y-m-s H:i:s',time()),
"remark" => ['点击查看详情','#F00'],
"remark" => ['点击查看详情','#FF0000'],
);
$openid = Db::name('third')->where('user_id',$msg['user_id'])->value('openid');
$url = config('option.vue_url') . '/dianpuliuyan?is_template=1&id='.$msg['user_id'];
... ...
... ... @@ -701,7 +701,7 @@ class User extends Api
"first" => '您有一条新的消息',
'keyword1' => $param['content'] ? $param['content'] : '【图片消息】',
"keyword2" => date('Y-m-s H:i:s',time()),
"remark" => ['点击查看详情','#F00'],
"remark" => ['点击查看详情','#FF0000'],
);
$openid = Db::name('third')->where('user_id',$msg['object_user_id'])->value('openid');
if($msg['type'] == 2) {
... ...
... ... @@ -130,7 +130,7 @@ class Ajax extends Frontend
"keyword1" => $info['name'],
"keyword2" => $info['mobile'],
"keyword3" => date('Y年m月s日 H:i',time()),
"remark" => ['请尽快处理!','#F00'],
"remark" => ['请尽快处理!','#FF0000'],
);
$url = 'http://community.t.brotop.cn/admininfo.php';
$this->wxsendmessage('otlkQ0l4L3wsmz8dhDIbHJQVJnI8',$send_data,config('option.template')['examine'],$url);
... ...