Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
wallet
token
Commits
de93cd92
Commit
de93cd92
authored
Jan 18, 2019
by
ZhuChunYang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入名单功能更新
parent
c440c496
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CoinReleaseMemberController.php
backend/controllers/CoinReleaseMemberController.php
+1
-1
list.js
backend/web/js/coin-release-member/list.js
+2
-1
No files found.
backend/controllers/CoinReleaseMemberController.php
View file @
de93cd92
...
...
@@ -136,7 +136,7 @@ class CoinReleaseMemberController extends BaseController
unset
(
$value
[
6
]);
}
//$result = CoinReleaseMember::implode($data);
return
[
'code'
=>
0
,
'msg'
=>
'预览成功'
,
'data'
=>
$data
];
return
[
'code'
=>
0
,
'msg'
=>
'预览成功'
,
'data'
=>
$data
,
'count'
=>
count
(
$data
)
];
}
else
{
return
[
'code'
=>
-
1
,
'msg'
=>
'规则不存在'
];
}
...
...
backend/web/js/coin-release-member/list.js
View file @
de93cd92
...
...
@@ -41,7 +41,8 @@ upload.render({
tr_data
+=
'<tr><td>'
+
data
[
i
][
1
]
+
'</td><td>'
+
data
[
i
][
2
]
+
'</td><td>'
+
data
[
i
][
3
]
+
'</td></tr>'
;
}
if
(
res
.
code
==
0
){
var
html
=
'<table class="layui-table">'
+
var
count_html
=
'<p style="color:#0000ff">共导入<b style="color:red">'
+
res
.
count
+
'</b>条记录:'
+
'</p>'
;
var
html
=
count_html
+
'<table class="layui-table">'
+
'<colgroup>
\
n'
+
'<col width="150">'
+
'<col width="150">'
+
...
...
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