Toggle navigation
This project
Loading...
Sign in
najixian
/
xt_dc_admin
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
9979178f21fc75ceed39edce4d9d6b06559fa9b1
Authored by
pengye
2019-12-19 17:47:40 +0800
1 parent
4881c7d0
build: skipped
no message
Changes
3
Builds
0
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
1 deletions
application/admin/controller/Area.php
application/admin/view/area/operate.html
application/admin/view/area/operateAdd.html
application/admin/controller/Area.php
View file @
9979178
...
...
@@ -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
();
}
/**
* 停用商家
...
...
application/admin/view/area/operate.html
View file @
9979178
...
...
@@ -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>
...
...
application/admin/view/area/operateAdd.html
0 → 100644
View file @
9979178
{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
...
...
Please
register
or
login
to post a comment