作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

代理人注册

... ... @@ -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'=>"协议",
... ...
... ... @@ -17,7 +17,7 @@
</style>
</head>
<body>
<a class="agree_top" href="register.html">
<a class="agree_top" href="{:url('user_register_mobile/index')}">
<div class="iconfont icon-xiangzuo"></div>
<div>返回</div>
</a>
... ...
... ... @@ -17,7 +17,7 @@
</style>
</head>
<body>
<a class="agree_top" href="register.html">
<a class="agree_top" href="{:url('agent_register_mobile/index')}">
<div class="iconfont icon-xiangzuo"></div>
<div>返回</div>
</a>
... ...