|
|
|
@ -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 |
|
|
|
|