Commit 9979178f21fc75ceed39edce4d9d6b06559fa9b1

Authored by pengye
1 parent 4881c7d0

no message

... ... @@ -121,6 +121,20 @@ class Area extends Common
$this->assign ( 'title','代理商管理');
return $this->fetch();
}
//增加运营管理人员
public function operateAdd(){
//缓存60秒 不请求。
/*$arr = cache('qrcod_url');
if(!$arr){
$arr= file_get_contents("http://xt.colorcun.com/WechatApi/WechatApi/CreateOperateQrcode/");
$arr = json_decode($arr,TRUE);
cache('qrcod_url',$arr, 50);
}*/
$this->assign('qrcode_path','https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQGx8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyTHVYdVF0QmZlR2oxMDAwMDAwN2oAAgQ84vpdAwQAAAAA');
return view();
}
/**
* 停用商家
... ...
... ... @@ -3,7 +3,9 @@
<fieldset class="layui-elem-field layui-field-title">
<legend>代理商运营人员列表</legend>
</fieldset>
<blockquote class="layui-elem-quote">
<a href="{:url('operateAdd')}" class="layui-btn layui-btn-sm">添加运营人员</a>
</blockquote>
<table class="layui-table" id="list" lay-filter="list"></table>
</div>
... ...
{include file="common/head"/}
<div class="admin-main fadeInUp animated" ng-app="hd" ng-controller="ctrl">
<fieldset class="layui-elem-field layui-field-title">
<legend>请扫描二维码完成添加代理商运营人员操作</legend>
</fieldset>
<form class="layui-form layui-form-pane">
<div class="layui-form-item">
<label class="layui-form-label" style="height: 465px;width: 500px;"><img style="margin: 20px;height: 400px;width: 400px;" src="{$qrcode_path}"/></label>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<a href="{:url('operateList')}" style="margin-left: 95px" class="layui-btn">{:lang('back')}</a>
</div>
</div>
</form>
</div>
{include file="common/foot"/}
\ No newline at end of file
... ...