...
|
...
|
@@ -48,7 +48,29 @@ class Index extends Frontend |
|
|
{
|
|
|
$content = db('mobile_config')->where('id',1)->value('agreement');
|
|
|
$this->assign('content',$content);
|
|
|
return $this->view->fetch();
|
|
|
$this->assign('title','隐私保护协议');
|
|
|
return $this->view->fetch('agreement');
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 服务协议
|
|
|
*/
|
|
|
public function userAgreement()
|
|
|
{
|
|
|
$content = db('mobile_config')->where('id',1)->value('user_agreement');
|
|
|
$this->assign('content',$content);
|
|
|
$this->assign('title','服务协议');
|
|
|
return $this->view->fetch('agreement');
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 隐私协议
|
|
|
*/
|
|
|
public function privacyAgreement()
|
|
|
{
|
|
|
$content = db('mobile_config')->where('id',1)->value('privacy_agreement');
|
|
|
$this->assign('content',$content);
|
|
|
$this->assign('title','隐私协议');
|
|
|
return $this->view->fetch('agreement');
|
|
|
}
|
|
|
} |
...
|
...
|
|