|
|
|
@ -259,7 +259,7 @@ class PromoteCompanyController extends ThinkController
|
|
|
|
|
$map["create_time"] = ['ELT',$time_end];
|
|
|
|
|
}
|
|
|
|
|
$model = M("promote_company_verify", 'tab_');
|
|
|
|
|
$data = $model->where($map)->page($page,$row)->order("FIELD(verify_status,0,1,-1,-2,2),id desc")->select();
|
|
|
|
|
$data = $model->where($map)->page($page,$row)->order("create_time desc")->select();
|
|
|
|
|
foreach ($data as $k => &$v) {
|
|
|
|
|
$v['company_info'] = json_decode($v['company_info'],true);
|
|
|
|
|
if($v['company_id'] == 0){
|
|
|
|
@ -362,6 +362,7 @@ class PromoteCompanyController extends ThinkController
|
|
|
|
|
$v['verify_log']['market_time']=date("Y-m-d H:i:s");
|
|
|
|
|
$v['verify_log'] = json_encode($v['verify_log']);
|
|
|
|
|
$v['verify_status']=-1;
|
|
|
|
|
$v["create_time"] = time();
|
|
|
|
|
M("PromoteCompanyVerify", 'tab_')->save($v);
|
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$v['id'],"op_name"=>"市场部审核",'url'=>U('index')]);
|
|
|
|
|
}
|
|
|
|
@ -381,6 +382,7 @@ class PromoteCompanyController extends ThinkController
|
|
|
|
|
$v['verify_log']['admin_time']=date("Y-m-d H:i:s");
|
|
|
|
|
$v['verify_log'] = json_encode($v['verify_log']);
|
|
|
|
|
$v['verify_status']=-2;
|
|
|
|
|
$v["create_time"] = time();
|
|
|
|
|
M("PromoteCompanyVerify", 'tab_')->save($v);
|
|
|
|
|
addOperationLog(['op_type'=>1,'key'=>$v['id'],"op_name"=>"管理员审核",'url'=>U('index')]);
|
|
|
|
|
}
|
|
|
|
|