审核拒绝bug修正

master
zhengyongxing 4 years ago
parent a2b085562d
commit 7d3c8ebd61

@ -298,8 +298,8 @@ class AggregateRelationController extends AdminController
$ids = $_REQUEST['ids'];
$dbres = $this->DBlogModel->field("id,status,verify_log")->where("id in ({$ids})")->select();
foreach($dbres as $k=>&$v){
if($v['status'] != 1) continue;
// $v['verify_log'] = json_decode($v['verify_log'],true);
if($v['status'] != 1 && $v['status'] != 0) continue;
$v['verify_log'] = json_decode($v['verify_log'],true);
$v['verify_log']['admin_user']=$this->admininfo["username"];
$v['verify_log']['admin_time']=date("Y-m-d H:i:s");
$v['verify_log'] = json_encode($v['verify_log']);

Loading…
Cancel
Save