|
|
|
@ -81,6 +81,17 @@ class Wxserve extends Controller |
|
|
|
|
if (!empty($item['experience_code'])) { |
|
|
|
|
$item['experience_code'] = $this->request->domain(true) . $item['experience_code'] . '?time=' . time(); |
|
|
|
|
} |
|
|
|
|
if ($item['audit_status'] == 0) { |
|
|
|
|
$item['audit_status_text'] = '未发布版本'; |
|
|
|
|
} elseif ($item['audit_status'] == 1) { |
|
|
|
|
$item['audit_status_text'] = '审核中'; |
|
|
|
|
} elseif ($item['audit_status'] == 2) { |
|
|
|
|
$item['audit_status_text'] = '审核通过'; |
|
|
|
|
} elseif ($item['audit_status'] == 3) { |
|
|
|
|
$item['audit_status_text'] = '审核失败'; |
|
|
|
|
} elseif ($item['audit_status'] == 4) { |
|
|
|
|
$item['audit_status_text'] = '延时审核'; |
|
|
|
|
} |
|
|
|
|
unset($item['access_token']); |
|
|
|
|
unset($item['refresh_token']); |
|
|
|
|
unset($item['signature']); |
|
|
|
@ -205,9 +216,15 @@ class Wxserve extends Controller |
|
|
|
|
$appid = $this->request->get('appid'); |
|
|
|
|
if ($appid) { |
|
|
|
|
$obj = new Server(); |
|
|
|
|
if ($obj->submitAudit($appid)) { |
|
|
|
|
return $this->renderSuccess('success'); |
|
|
|
|
$res = $obj->privacyInfo($appid); |
|
|
|
|
if ($res == 'ok') { |
|
|
|
|
if ($obj->submitAudit($appid)) { |
|
|
|
|
return $this->renderSuccess('success'); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
return $this->renderError($res); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
return $this->renderError('操作失败'); |
|
|
|
|
} |
|
|
|
|