...
|
...
|
@@ -709,6 +709,7 @@ class Store extends Api |
|
|
// 商家每天可发布红包信息次数
|
|
|
$times = Db::name('store_inform')
|
|
|
->whereTime('createtime', 'today')
|
|
|
->where('type',1)
|
|
|
->where('store_id',$store['id'])
|
|
|
->count();
|
|
|
if($times >= config('site.send_red_times')){
|
...
|
...
|
@@ -783,7 +784,7 @@ class Store extends Api |
|
|
"remark" => ['请尽快处理!','#FF0000'],
|
|
|
);
|
|
|
$url = $this->request->root(true).'/admininfo.php/index/login';
|
|
|
(new \app\index\controller\Ajax)->wxsendmessage('otlkQ0l4L3wsmz8dhDIbHJQVJnI8',$send_data,config('option.template')['examine'],$url);
|
|
|
(new \app\index\controller\Ajax)->wxsendmessage(config('option.examine_openid'),$send_data,config('option.template')['examine'],$url);
|
|
|
if(!$result || !$res_user || !$res_log) {
|
|
|
Db::rollback();
|
|
|
} else {
|
...
|
...
|
|