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.

33 lines
1.0 KiB
PHTML

5 years ago
<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------
namespace Home\Event;
use Think\Controller;
/**
* 后台首页控制器
* @author 麦当苗儿 <zuojiazi@vip.qq.com>
*/
class PromoteEvent extends BaseEvent {
/**
获取基本信息
*/
public function baseinfo($tem_edit,$id=0) {
$model = M('Promote','tab_');
$data = $model->find($id);
$data['bank_area'] = explode(',', $data['bank_area']);
$this->assign("data",$data);
$this->display($tem_edit);
}
public function chlid_lists($model,$p){
parent::lists($model,$p);
}
}