外团特殊比例自动审核通过

master
zhengyongxing 4 years ago
parent d73602d30b
commit 6efa26ecfd

@ -602,6 +602,17 @@ class CompanyGameRatioController extends AdminController
$save['verify_log']=json_encode(["create_user"=>$this->admininfo["username"],"create_time"=>date("Y-m-d H:i:s")]); $save['verify_log']=json_encode(["create_user"=>$this->admininfo["username"],"create_time"=>date("Y-m-d H:i:s")]);
//获取旧比例 //获取旧比例
$this->getOldRatio($save); $this->getOldRatio($save);
$promote_data = M("promote_company","tab_")->where(['id'=>$save['company_id']])->find();
if ($promote_data['company_belong'] == '0') {
$save['verify_log'] = json_decode($save['verify_log'],true);
$save['verify_log']['market_user']="AUTO";
$save['verify_log']['market_time']=date("Y-m-d H:i:s");
$save['verify_log'] = json_encode($save['verify_log']);
$save['status']=1;
}
//判断已有未审核 //判断已有未审核
$where = [ $where = [
"relation_game_id"=>$save['relation_game_id'], "relation_game_id"=>$save['relation_game_id'],

Loading…
Cancel
Save