wang hou sheng 7 months ago
parent fce590d623
commit 6eaf74a04a
  1. 16
      app/admin/controller/Wxserve.php

@ -223,6 +223,22 @@ class Wxserve extends Controller
return $this->renderError('操作失败');
}
public function auditOne(): Json
{
$appid = $this->request->get('appid');
$obj = new Server();
$res = $obj->privacyInfo($appid);
if ($res == 'ok') {
if ($obj->submitAudit($appid)) {
return $this->renderSuccess('success');
} else {
return $this->renderError('发布失败');
}
} else {
return $this->renderError('隐私接口错误');
}
}
/**
* @notes:发布正式版前检查
* @return Json

Loading…
Cancel
Save