getAdminId()); $res = M('admin')->alias('a')->join('store b', ' a.store_id=b.store_id', 'left') ->where($where)->field('b.isweb_reg,b.reg_mobile,b.ERPId,b.store_logo')->find(); $this->assign("stoinfo",$res); } $this->assign("islogin",$islogin); define('MODULE_NAME',$this->request->module()); // 当前模块名称是 define('CONTROLLER_NAME',$this->request->controller()); // 当前控制器名称 define('ACTION_NAME',$this->request->action()); // 当前操作名称是 define('PREFIX',C('database.prefix')); // 数据库表前缀 $type_list[0]=array("id"=>1,"title"=>"线上线下"); $type_list[1]=array("id"=>2,"title"=>"自定义模板"); $type_list[2]=array("id"=>3,"title"=>"分销系统"); $type_list[3]=array("id"=>4,"title"=>"促销方式"); $type_list[4]=array("id"=>5,"title"=>"在线客服"); $type_list[5]=array("id"=>6,"title"=>"优惠券"); $type_list[6]=array("id"=>7,"title"=>"积分"); $type_list[7]=array("id"=>8,"title"=>"会员管理"); $type_list[8]=array("id"=>9,"title"=>"卡包"); $type_list[9]=array("id"=>10,"title"=>"数据分析"); $this->assign("typelist",$type_list); } public function index1(){ $gettypeid=1; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index1_1(){ $gettypeid=1; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index2(){ $gettypeid=2; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index3(){ $gettypeid=3; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index4(){ $gettypeid=4; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index5(){ $gettypeid=5; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index6(){ $gettypeid=6; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index7(){ $gettypeid=7; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index8(){ $gettypeid=8; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index9(){ $gettypeid=9; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } public function index10(){ $gettypeid=10; $this->assign("gettypeid",$gettypeid); return $this->fetch(); } }