...
|
...
|
@@ -10,14 +10,15 @@ namespace app\index\controller; |
|
|
|
|
|
|
|
|
use app\index\model\AgreementModel;
|
|
|
use app\index\model\PageHtmlModel;
|
|
|
use cmf\controller\WeChatBaseController;
|
|
|
|
|
|
class AgreementController extends WeChatBaseController
|
|
|
{
|
|
|
public function index(){
|
|
|
//协议
|
|
|
$AgreementModel = new AgreementModel();
|
|
|
$data = $AgreementModel->findData(array('id'=>1));
|
|
|
$pageHtmlModel = new PageHtmlModel();
|
|
|
$data = $pageHtmlModel->findData(array('id'=>7));
|
|
|
$this->assign(
|
|
|
array(
|
|
|
'title'=>"协议",
|
...
|
...
|
@@ -28,8 +29,8 @@ class AgreementController extends WeChatBaseController |
|
|
}
|
|
|
public function index2(){
|
|
|
//协议
|
|
|
$AgreementModel = new AgreementModel();
|
|
|
$data = $AgreementModel->findData(array('id'=>2));
|
|
|
$pageHtmlModel = new PageHtmlModel();
|
|
|
$data = $pageHtmlModel->findData(array('id'=>8));
|
|
|
$this->assign(
|
|
|
array(
|
|
|
'title'=>"协议",
|
...
|
...
|
|