记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
bf40d874
Commit
bf40d874
authored
Oct 20, 2021
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+page;
parent
c0839a52
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
204 additions
and
0 deletions
+204
-0
LocalAdminController.java
...t/admin/web/controller/zhengzai/LocalAdminController.java
+56
-0
LuckyDraw.html
...main/resources/templates/zhengzai/integral/LuckyDraw.html
+1
-0
integralDetail.html
...resources/templates/zhengzai/integral/integralDetail.html
+145
-0
integralOrder.html
.../resources/templates/zhengzai/integral/integralOrder.html
+1
-0
integralStore.html
.../resources/templates/zhengzai/integral/integralStore.html
+1
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/LocalAdminController.java
0 → 100644
View file @
bf40d874
package
com
.
liquidnet
.
client
.
admin
.
web
.
controller
.
zhengzai
.
adam
;
import
com.liquidnet.client.admin.common.annotation.Log
;
import
com.liquidnet.client.admin.common.core.controller.BaseController
;
import
com.liquidnet.client.admin.common.core.domain.AjaxResult
;
import
com.liquidnet.client.admin.common.core.page.TableDataInfo
;
import
com.liquidnet.client.admin.common.enums.BusinessType
;
import
com.liquidnet.client.admin.common.utils.poi.ExcelUtil
;
import
com.liquidnet.client.admin.zhengzai.adam.service.IAdamUserAdminService
;
import
com.liquidnet.service.adam.entity.AdamUser
;
import
org.apache.shiro.authz.annotation.RequiresPermissions
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.ui.ModelMap
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 用户Controller
*
* @author ruoyi
* @date 2021-05-24
*/
@Controller
@RequestMapping
(
"local"
)
public
class
LocalAdminController
extends
BaseController
{
private
String
prefix
=
"zhengzai/integral"
;
@Autowired
private
IAdamUserAdminService
adamUserService
;
@GetMapping
(
"/integralDetail"
)
public
String
integralDetail
()
{
return
prefix
+
"/integralDetail"
;
}
@GetMapping
(
"/integralStore"
)
public
String
integralStore
()
{
return
prefix
+
"/integralStore"
;
}
@GetMapping
(
"/LuckyDraw"
)
public
String
LuckyDraw
()
{
return
prefix
+
"/LuckyDraw"
;
}
@GetMapping
(
"/integralOrder"
)
public
String
integralOrder
()
{
return
prefix
+
"/integralOrder"
;
}
}
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/integral/LuckyDraw.html
0 → 100644
View file @
bf40d874
转盘抽奖
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/integral/integralDetail.html
0 → 100644
View file @
bf40d874
<!DOCTYPE html>
<html
lang=
"zh"
xmlns:th=
"http://www.thymeleaf.org"
xmlns:shiro=
"http://www.pollix.at/thymeleaf/shiro"
>
<head>
<th:block
th:include=
"include :: header('积分明细')"
/>
</head>
<body
class=
"gray-bg"
>
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 search-collapse"
>
<form
id=
"coupon-form"
>
<div
class=
"select-list"
>
<ul>
<input
type=
"hidden"
name=
"couType"
th:value=
"${couType}"
/>
<li>
<input
type=
"text"
name=
"keyword"
placeholder=
"搜索"
/>
</li>
<li>
<a
class=
"btn btn-primary btn-rounded btn-sm"
onclick=
"$.table.search()"
><i
class=
"fa fa-search"
></i>
搜索
</a>
<a
class=
"btn btn-warning btn-rounded btn-sm"
onclick=
"$.form.reset()"
><i
class=
"fa fa-refresh"
></i>
重置
</a>
</li>
</ul>
</div>
</form>
</div>
<div
class=
"btn-group-sm"
id=
"toolbar"
role=
"group"
>
<a
class=
"btn btn-warning"
onclick=
"$.table.exportExcel()"
shiro:hasPermission=
"monitor:job:export"
>
<i
class=
"fa fa-download"
></i>
导出
</a>
</div>
<div
class=
"col-sm-12 select-table table-striped"
>
<table
id=
"bootstrap-table"
></table>
</div>
</div>
</div>
<th:block
th:include=
"include :: footer"
/>
<script
th:inline=
"javascript"
>
var
dicCouponBusiType
=
[[
$
{@
dict
.
getType
(
'zhengzai_coupon_busi_type'
)}]];
var
dicCouponBindType
=
[[
$
{@
dict
.
getType
(
'zhengzai_coupon_bind_type'
)}]];
var
prefix
=
ctx
+
"candy/coupon/mgt"
;
var
viewMgtCouponFlag
=
[[
$
{@
permission
.
hasPermi
(
'candy:coupon:mgt:detail'
)}]];
var
cancelMgtCouponFlag
=
[[
$
{@
permission
.
hasPermi
(
'candy:coupon:mgt:cancel'
)}]];
var
couType
=
[[
$
{
couType
}]];
$
(
function
()
{
var
options
=
{
url
:
prefix
+
"/list"
,
createUrl
:
prefix
+
"/add/{id}"
,
detailUrl
:
prefix
+
"/detail/"
+
couType
+
"/{id}"
,
removeUrl
:
prefix
+
"/cancel/{id}"
,
// updateUrl: prefix + "/edit/{id}",
// exportUrl: prefix + "/export",
sortName
:
"createdAt"
,
sortOrder
:
"desc"
,
modalName
:
"代金券"
,
columns
:
[
{
checkbox
:
true
},
{
field
:
'valFace'
,
title
:
'呢称'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
'¥'
+
value
;
}
},
{
field
:
'eventAmt'
,
title
:
'手机号'
},
{
field
:
'bindType'
,
title
:
'总积分'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
$
.
table
.
selectDictLabel
(
dicCouponBindType
,
value
);
}
},
{
field
:
'busiType'
,
title
:
'已使用积分'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
$
.
table
.
selectDictLabel
(
dicCouponBusiType
,
value
);
}
},
{
field
:
'title'
,
title
:
'剩余积分'
},
{
field
:
'notice'
,
title
:
'积分状态'
},
{
title
:
'操作'
,
// align: 'center',
formatter
:
function
(
value
,
row
,
index
)
{
var
actions
=
[];
actions
.
push
(
'<span class="btn btn-warning btn-xs" href="javascript:void(0)" onclick="open(
\'
'
+
row
.
mcouponId
+
'
\'
)"><i class="fa fa-search"></i>加入黑名单</span>'
);
// if (row.state === 0) {
// actions.push('
<
a
class
=
"btn btn-danger btn-xs ' + cancelMgtCouponFlag + '"
href
=
"javascript:void(0)"
onclick
=
"$.operate.remove(
\
'' + row.mcouponId + '
\
')"
><
i
class
=
"fa fa-remove"
><
/i>取消</
a
>
');
// }
if (row.bindType === 0 && row.state === 1) {
actions.push('
<
a
class
=
"btn btn-info btn-xs"
href
=
"javascript:void(0)"
onclick
=
"couponCodeList(
\
'' + row.couponId + '
\
')"
><
i
class
=
"fa fa-list-ul"
><
/i>码列表</
a
>
');
}
return actions.join('');
}
}]
};
$.table.init(options);
});
/* 查看码列表 */
function couponCodeList(couponId) {
var url = '
candy
/
coupon
/
code
?
couponId
=
' + couponId;
$.modal.openTab("积分明细列表", url);
}
function open(id) {
console.log('
111111
')
layer.open({
type: 2,
// area: [width + '
px
', height + '
px
'],
fix: false,
//不固定
maxmin: true,
shade: 0.3,
title: '
加入黑名单
',
content: '
加入黑名单后,用户将不可使用积分功能
',
btn: ['
确定
', '
关闭
'],
// 弹层外区域关闭
shadeClose: true,
yes: function() {
console.log('
确定
')
},
cancel: function(index) {
console.log('
取消
')
return true;
}
});
}
</script>
</body>
</html>
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/integral/integralOrder.html
0 → 100644
View file @
bf40d874
积分订单
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/integral/integralStore.html
0 → 100644
View file @
bf40d874
积分商城
\ No newline at end of file
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