多用户商城uniapp多端合一(小程序+APP)"/>
多用户商城uniapp多端合一(小程序+APP)
多用户商城uniapp多端合一(小程序+APP)
后端技术:thinkPHP+MySQL+layui
前端技术:uni-app
系统功能介绍:
微信公众号、微信会员卡、微信小程序、支付宝小程序、百度小程序、头条小程序、QQ小程序、手机H5、手机APP多端全部支持
diy自定义拖拽、财务模块、数据统计、多商户管理、用户论坛、积分签到、预约服务、知识付费、同城配送、投票活动、自定义表单、礼品卡、直播、
视频号接入等更多插件、更多营销活动
餐饮模块、外卖、点餐、预定、排队、寄存、扫码点餐、蓝牙小票打印
public function initialize(){if(MN == 'notify'){}else{$this->webinfo = Db::name('sysset')->where(['name'=>'webinfo'])->value('value');$this->webinfo = json_decode($this->webinfo,true);if(!$this->webinfo['showweb'] && request()->action() != 'downloadapp'){header('Location:'.(string)url('Backstage/index'));die;}View::assign('webinfo',$this->webinfo);//开启注册$reg_open = isset($this->webinfo['reg_open']) ? $this->webinfo['reg_open'] : 0;View::assign('reg_open',$reg_open);}}//首页框架public function index(){if(MN == 'notify'){$notify = new \app\common\Notify();$notify->index();}else{if($this->isMobile()){return View::fetch('index/wap/index');}if($this->webinfo['showweb']==2 && request()->action() != 'downloadapp'){return View::fetch('index2/index');}return View::fetch();}}public function lianxi(){if(request()->isPost()){$realname = input('post.realname');$tel = input('post.tel');$content = input('post.content');$ip = request()->ip();db('webmessage')->insert(['realname'=>$realname,'tel'=>$tel,'content'=>$content,'ip'=>$ip,'createtime'=>time()]);return json(['status'=>1,'msg'=>'提交成功']);}if($this->isMobile()){return View::fetch('index/wap/lianxi');}if($this->webinfo['showweb']==2 && request()->action() != 'downloadapp'){return View::fetch('index2/lianxi');}return View::fetch();}
需要可以联系我、随时回复
更多推荐
多用户商城uniapp多端合一(小程序+APP)
发布评论