...
|
...
|
@@ -684,6 +684,7 @@ class PersonController extends RestBaseController |
|
|
* @return service_mobile:联系客服
|
|
|
* @return explain_url:使用说明url
|
|
|
* @return introduce_url:平台介绍url
|
|
|
* @return manual_url:登录页使用说明url
|
|
|
*
|
|
|
*/
|
|
|
public function getServiceMobile(){
|
...
|
...
|
@@ -691,6 +692,7 @@ class PersonController extends RestBaseController |
|
|
$res = $this->getAboutUs('service_mobile');
|
|
|
$res['explain_url'] = 'http://xiaofang.w.bronet.cn/explain.html';
|
|
|
$res['introduce_url'] = 'http://xiaofang.w.bronet.cn/introduce.html';
|
|
|
$res['manual_url'] = 'http://xiaofang.w.bronet.cn/manual.html';
|
|
|
$this->success('成功',$res);
|
|
|
}else{
|
|
|
$this->error('请求方式错误!');
|
...
|
...
|
@@ -721,6 +723,18 @@ class PersonController extends RestBaseController |
|
|
}
|
|
|
}
|
|
|
|
|
|
//获取登录页使用说明
|
|
|
public function getManual(){
|
|
|
if($this->request->isGet()){
|
|
|
$res = $this->getAboutUs('manual');
|
|
|
$contentModel = new PortalPostModel();
|
|
|
$res['manual'] = $contentModel->getPostContentAttr($res['manual']);
|
|
|
$this->success('成功',$res);
|
|
|
}else{
|
|
|
$this->error('请求方式错误!');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private function getAboutUs($field){
|
|
|
$res = Db::name('about_us')
|
|
|
->where('id',1)
|
...
|
...
|
|