|
|
|
@ -299,7 +299,7 @@ class AggregateRelationController extends AdminController
|
|
|
|
|
$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);
|
|
|
|
|
// $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']);
|
|
|
|
@ -317,8 +317,9 @@ class AggregateRelationController extends AdminController
|
|
|
|
|
if(!isset($_REQUEST['ids'])) $this->error("参数错误");
|
|
|
|
|
$ids = $_REQUEST['ids'];
|
|
|
|
|
$dbres = $this->DBlogModel->field("*")->where("id in ({$ids})")->select();
|
|
|
|
|
|
|
|
|
|
foreach($dbres as $k=>&$v){
|
|
|
|
|
if($v['status'] != 1) continue;
|
|
|
|
|
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");
|
|
|
|
@ -739,8 +740,8 @@ class AggregateRelationController extends AdminController
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
$mentBtn = [
|
|
|
|
|
"marketAgree"=>"<a class='butn' id='marketAgree'>市场部审批通过</a>",
|
|
|
|
|
"marketRefuse"=>"<a class='butn' id='marketRefuse' style='background-color: red;'>市场部审核拒绝</a>",
|
|
|
|
|
// "marketAgree"=>"<a class='butn' id='marketAgree'>市场部审批通过</a>",
|
|
|
|
|
// "marketRefuse"=>"<a class='butn' id='marketRefuse' style='background-color: red;'>市场部审核拒绝</a>",
|
|
|
|
|
"adminAgree"=>"<a class='butn' id='adminAgree'>管理员审核通过</a>",
|
|
|
|
|
"adminRefuse"=>"<a class='butn' id='adminRefuse' style='background-color: red;'>管理员审核拒绝</a>"
|
|
|
|
|
];
|
|
|
|
|