Commit 9979178f21fc75ceed39edce4d9d6b06559fa9b1

Authored by pengye
1 parent 4881c7d0

no message

@@ -121,6 +121,20 @@ class Area extends Common @@ -121,6 +121,20 @@ class Area extends Common
121 $this->assign ( 'title','代理商管理'); 121 $this->assign ( 'title','代理商管理');
122 return $this->fetch(); 122 return $this->fetch();
123 } 123 }
  124 +
  125 + //增加运营管理人员
  126 + public function operateAdd(){
  127 + //缓存60秒 不请求。
  128 + /*$arr = cache('qrcod_url');
  129 + if(!$arr){
  130 + $arr= file_get_contents("http://xt.colorcun.com/WechatApi/WechatApi/CreateOperateQrcode/");
  131 + $arr = json_decode($arr,TRUE);
  132 + cache('qrcod_url',$arr, 50);
  133 + }*/
  134 +
  135 + $this->assign('qrcode_path','https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQGx8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyTHVYdVF0QmZlR2oxMDAwMDAwN2oAAgQ84vpdAwQAAAAA');
  136 + return view();
  137 + }
124 138
125 /** 139 /**
126 * 停用商家 140 * 停用商家
@@ -3,7 +3,9 @@ @@ -3,7 +3,9 @@
3 <fieldset class="layui-elem-field layui-field-title"> 3 <fieldset class="layui-elem-field layui-field-title">
4 <legend>代理商运营人员列表</legend> 4 <legend>代理商运营人员列表</legend>
5 </fieldset> 5 </fieldset>
6 - 6 + <blockquote class="layui-elem-quote">
  7 + <a href="{:url('operateAdd')}" class="layui-btn layui-btn-sm">添加运营人员</a>
  8 + </blockquote>
7 <table class="layui-table" id="list" lay-filter="list"></table> 9 <table class="layui-table" id="list" lay-filter="list"></table>
8 </div> 10 </div>
9 11
  1 +{include file="common/head"/}
  2 +<div class="admin-main fadeInUp animated" ng-app="hd" ng-controller="ctrl">
  3 + <fieldset class="layui-elem-field layui-field-title">
  4 + <legend>请扫描二维码完成添加代理商运营人员操作</legend>
  5 + </fieldset>
  6 + <form class="layui-form layui-form-pane">
  7 + <div class="layui-form-item">
  8 + <label class="layui-form-label" style="height: 465px;width: 500px;"><img style="margin: 20px;height: 400px;width: 400px;" src="{$qrcode_path}"/></label>
  9 + </div>
  10 + <div class="layui-form-item">
  11 + <div class="layui-input-block">
  12 + <a href="{:url('operateList')}" style="margin-left: 95px" class="layui-btn">{:lang('back')}</a>
  13 + </div>
  14 + </div>
  15 + </form>
  16 +</div>
  17 +{include file="common/foot"/}