Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fusionadmin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林洽文
fusionadmin
Commits
a5853b22
Commit
a5853b22
authored
May 04, 2023
by
zazaname
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
聚合服务端后台V1.0
parent
88ad1ddc
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
12 deletions
+31
-12
Admin.php
app/admin/controller/system/Admin.php
+0
-1
index.html
app/admin/view/login/index.html
+1
-1
games.js
public/static/admin/js/app/games.js
+24
-2
memberloginlog.js
public/static/admin/js/app/memberloginlog.js
+2
-2
order.js
public/static/admin/js/app/order.js
+4
-4
ver.js
public/static/admin/js/app/ver.js
+0
-2
No files found.
app/admin/controller/system/Admin.php
View file @
a5853b22
...
@@ -128,7 +128,6 @@ class Admin extends AdminController
...
@@ -128,7 +128,6 @@ class Admin extends AdminController
*/
*/
public
function
password
(
$id
)
public
function
password
(
$id
)
{
{
$this
->
checkPostRequest
();
$row
=
$this
->
model
->
find
(
$id
);
$row
=
$this
->
model
->
find
(
$id
);
empty
(
$row
)
&&
$this
->
error
(
'数据不存在'
);
empty
(
$row
)
&&
$this
->
error
(
'数据不存在'
);
if
(
$this
->
request
->
isAjax
())
{
if
(
$this
->
request
->
isAjax
())
{
...
...
app/admin/view/login/index.html
View file @
a5853b22
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"main-body"
>
<div
class=
"main-body"
>
<div
class=
"login-main"
>
<div
class=
"login-main"
>
<div
class=
"login-top"
>
<div
class=
"login-top"
>
<span>
聚合后台
</span>
<span>
FusionAdmin
</span>
<span
class=
"bg1"
></span>
<span
class=
"bg1"
></span>
<span
class=
"bg2"
></span>
<span
class=
"bg2"
></span>
</div>
</div>
...
...
public/static/admin/js/app/games.js
View file @
a5853b22
...
@@ -24,8 +24,30 @@ define(["jquery", "easy-admin"], function ($, ea) {
...
@@ -24,8 +24,30 @@ define(["jquery", "easy-admin"], function ($, ea) {
{
field
:
'app_name'
,
title
:
'子游戏名称'
},
{
field
:
'app_name'
,
title
:
'子游戏名称'
},
{
field
:
'appkey'
,
title
:
'appkey'
,
search
:
false
},
{
field
:
'appkey'
,
title
:
'appkey'
,
search
:
false
},
{
field
:
'paykey'
,
title
:
'paykey'
,
search
:
false
},
{
field
:
'paykey'
,
title
:
'paykey'
,
search
:
false
},
{
field
:
'status'
,
title
:
'状态'
,
search
:
false
,
selectList
:{
0
:
'未上线'
,
1
:
'上线中'
},
templet
:
ea
.
table
.
switch
,
tips
:
"上线中|未上线"
,
pk
:
init
.
table_pk
},
{
{
field
:
'is_test'
,
title
:
'是否测试'
,
search
:
false
,
selectList
:{
0
:
'否'
,
1
:
'是'
},
templet
:
ea
.
table
.
switch
,
tips
:
"是|否"
,
pk
:
init
.
table_pk
},
field
:
'status'
,
title
:
'状态'
,
search
:
false
,
templet
:
function
(
d
)
{
if
(
d
.
status
===
1
)
{
return
'<span class="layui-badge layui-bg-green">已上线</span>'
;
}
else
{
return
'<span class="layui-badge layui-bg-red">未上线</span>'
;
}
}
},
{
field
:
'is_test'
,
title
:
'是否测试'
,
search
:
false
,
templet
:
function
(
d
)
{
if
(
d
.
is_test
===
1
)
{
return
'<span class="layui-badge layui-bg-green">否</span>'
;
}
else
{
return
'<span class="layui-badge layui-bg-red">是</span>'
;
}
}
},
{
field
:
'add_user'
,
title
:
'创建人'
,
search
:
false
},
{
field
:
'add_user'
,
title
:
'创建人'
,
search
:
false
},
{
field
:
'add_time'
,
title
:
'创建时间'
,
search
:
false
},
{
field
:
'add_time'
,
title
:
'创建时间'
,
search
:
false
},
{
width
:
250
,
title
:
'操作'
,
templet
:
ea
.
table
.
tool
},
{
width
:
250
,
title
:
'操作'
,
templet
:
ea
.
table
.
tool
},
...
...
public/static/admin/js/app/memberloginlog.js
View file @
a5853b22
...
@@ -23,10 +23,10 @@ define(["jquery", "easy-admin"], function ($, ea) {
...
@@ -23,10 +23,10 @@ define(["jquery", "easy-admin"], function ($, ea) {
{
field
:
'uid'
,
title
:
'uid'
},
{
field
:
'uid'
,
title
:
'uid'
},
{
field
:
'uname'
,
title
:
'用户名称'
},
{
field
:
'uname'
,
title
:
'用户名称'
},
{
field
:
'reg_ver'
,
title
:
'注册渠道标识'
},
{
field
:
'reg_ver'
,
title
:
'注册渠道标识'
},
{
field
:
'reg_time'
,
title
:
'注册时间'
},
{
field
:
'reg_time'
,
title
:
'注册时间'
,
search
:
'range'
},
{
field
:
'appid'
,
title
:
'登录游戏'
},
{
field
:
'appid'
,
title
:
'登录游戏'
},
{
field
:
'login_ver'
,
title
:
'登录渠道标识'
},
{
field
:
'login_ver'
,
title
:
'登录渠道标识'
},
{
field
:
'login_time'
,
title
:
'登录时间'
},
{
field
:
'login_time'
,
title
:
'登录时间'
,
search
:
'range'
},
{
field
:
'login_ip'
,
title
:
'登录IP'
,
search
:
false
},
{
field
:
'login_ip'
,
title
:
'登录IP'
,
search
:
false
},
]],
]],
});
});
...
...
public/static/admin/js/app/order.js
View file @
a5853b22
...
@@ -52,11 +52,11 @@ define(["jquery", "easy-admin"], function ($, ea) {
...
@@ -52,11 +52,11 @@ define(["jquery", "easy-admin"], function ($, ea) {
search
:
false
,
search
:
false
,
templet
:
function
(
d
)
{
templet
:
function
(
d
)
{
if
(
d
.
gstatus
===
0
)
{
if
(
d
.
gstatus
===
0
)
{
return
'<span class="layui-badge layui-bg-orange">未
回调
</span>'
;
return
'<span class="layui-badge layui-bg-orange">未
发货
</span>'
;
}
else
if
(
d
.
gstatus
===
1
)
{
}
else
if
(
d
.
gstatus
===
1
)
{
return
'<span class="layui-badge layui-bg-green">
回调
成功</span>'
;
return
'<span class="layui-badge layui-bg-green">
发货
成功</span>'
;
}
else
{
}
else
{
return
'<span class="layui-badge layui-bg-red">
回调
失败</span>'
;
return
'<span class="layui-badge layui-bg-red">
发货
失败</span>'
;
}
}
}
}
},
},
...
@@ -64,7 +64,7 @@ define(["jquery", "easy-admin"], function ($, ea) {
...
@@ -64,7 +64,7 @@ define(["jquery", "easy-admin"], function ($, ea) {
{
field
:
'amount'
,
title
:
'到账金额(元)'
,
search
:
false
},
{
field
:
'amount'
,
title
:
'到账金额(元)'
,
search
:
false
},
{
field
:
'subject'
,
title
:
'商品标题'
,
search
:
false
},
{
field
:
'subject'
,
title
:
'商品标题'
,
search
:
false
},
{
field
:
'wap_number'
,
title
:
'补发次数'
,
search
:
false
},
{
field
:
'wap_number'
,
title
:
'补发次数'
,
search
:
false
},
{
field
:
'create_time'
,
title
:
'下单时间'
},
{
field
:
'create_time'
,
title
:
'下单时间'
,
search
:
'range'
},
{
{
title
:
'操作'
,
title
:
'操作'
,
templet
:
ea
.
table
.
tool
,
templet
:
ea
.
table
.
tool
,
...
...
public/static/admin/js/app/ver.js
View file @
a5853b22
...
@@ -27,7 +27,6 @@ define(["jquery", "easy-admin"], function ($, ea) {
...
@@ -27,7 +27,6 @@ define(["jquery", "easy-admin"], function ($, ea) {
title
:
'状态'
,
title
:
'状态'
,
search
:
false
,
search
:
false
,
templet
:
function
(
d
)
{
templet
:
function
(
d
)
{
console
.
log
(
d
);
if
(
d
.
ver_status
===
1
)
{
if
(
d
.
ver_status
===
1
)
{
return
'<span class="layui-badge layui-bg-green">已上线</span>'
;
return
'<span class="layui-badge layui-bg-green">已上线</span>'
;
}
else
{
}
else
{
...
@@ -35,7 +34,6 @@ define(["jquery", "easy-admin"], function ($, ea) {
...
@@ -35,7 +34,6 @@ define(["jquery", "easy-admin"], function ($, ea) {
}
}
}
}
},
},
// {field: 'ver_type', title: '渠道类型',search:false},
{
field
:
'add_user'
,
title
:
'创建人'
,
search
:
false
},
{
field
:
'add_user'
,
title
:
'创建人'
,
search
:
false
},
{
field
:
'add_time'
,
title
:
'添加时间'
,
search
:
false
},
{
field
:
'add_time'
,
title
:
'添加时间'
,
search
:
false
},
{
width
:
250
,
title
:
'操作'
,
templet
:
ea
.
table
.
tool
},
{
width
:
250
,
title
:
'操作'
,
templet
:
ea
.
table
.
tool
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment