You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
782 B
PHTML

2 years ago
<?php
/**
* Created by PhpStorm.
* User: xmy 280564871@qq.com
* Date: 2017/4/26
* Time: 15:38
*/
namespace Open\Controller;
class CooperationController extends BaseController{
public function _initialize()
{
$this->assign("title_head","cooperation");
parent::_initialize(); // TODO: Change the autogenerated stub
}
public function index(){
$this->display();
}
/**
*用户注册协议
*/
public function remember(){
$category=D('category')->where(array('name'=>'reg_protocol'))->find();
$docu=D('document')->where(array('category_id'=>$category['id'],'status'=>1))->find();
$document_article=D('document_article')->where(array('id'=>$docu['id']))->find();
$this->assign('article',$document_article['content']);
$this->display();
}
}