Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
仟微科技
Link Wechat
提交
2709d7bc
Link Wechat
项目概览
仟微科技
/
Link Wechat
通知
48
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Link Wechat
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2709d7bc
编写于
2月 02, 2021
作者:
孙
孙喜旺
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
dbc87350
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
14 addition
and
14 deletion
+14
-14
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeTaskFissionController.java
...kwechat/web/controller/wecom/WeTaskFissionController.java
+2
-2
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeTaskFissionRecordController.java
...t/web/controller/wecom/WeTaskFissionRecordController.java
+4
-4
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeTaskFissionRewardController.java
...t/web/controller/wecom/WeTaskFissionRewardController.java
+4
-4
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeTaskFissionStaffController.java
...at/web/controller/wecom/WeTaskFissionStaffController.java
+4
-4
未找到文件。
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeTaskFissionController.java
浏览文件 @
2709d7bc
...
...
@@ -29,7 +29,7 @@ import java.util.List;
* @author leejoker
* @date 2021-01-20
*/
@Api
(
"任务宝Controller"
)
@Api
(
description
=
"任务宝Controller"
)
@RestController
@RequestMapping
(
"/wecom/fission"
)
public
class
WeTaskFissionController
extends
BaseController
{
...
...
@@ -90,7 +90,7 @@ public class WeTaskFissionController extends BaseController {
@ApiOperation
(
value
=
"删除任务宝"
,
httpMethod
=
"DELETE"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:fission:remove')"
)
@Log
(
title
=
"任务宝"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/
remov
e/{ids}"
)
@DeleteMapping
(
"/
delet
e/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
weTaskFissionService
.
deleteWeTaskFissionByIds
(
ids
));
}
...
...
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeTaskFissionRecordController.java
浏览文件 @
2709d7bc
...
...
@@ -22,7 +22,7 @@ import java.util.List;
* @author leejoker
* @date 2021-01-20
*/
@Api
(
value
=
"裂变任务完成记录Controller"
)
@Api
(
description
=
"裂变任务完成记录Controller"
)
@RestController
@RequestMapping
(
"/wecom/record"
)
public
class
WeTaskFissionRecordController
extends
BaseController
{
...
...
@@ -70,7 +70,7 @@ public class WeTaskFissionRecordController extends BaseController {
@ApiOperation
(
value
=
"新增裂变任务完成记录"
,
httpMethod
=
"POST"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:record:add')"
)
@Log
(
title
=
"裂变任务完成记录"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
@PostMapping
(
"/add"
)
public
AjaxResult
add
(
@RequestBody
WeTaskFissionRecord
weTaskFissionRecord
)
{
return
toAjax
(
weTaskFissionRecordService
.
insertWeTaskFissionRecord
(
weTaskFissionRecord
));
}
...
...
@@ -81,7 +81,7 @@ public class WeTaskFissionRecordController extends BaseController {
@ApiOperation
(
value
=
"修改裂变任务完成记录"
,
httpMethod
=
"PUT"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:record:edit')"
)
@Log
(
title
=
"裂变任务完成记录"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
@PutMapping
(
"/edit"
)
public
AjaxResult
edit
(
@RequestBody
WeTaskFissionRecord
weTaskFissionRecord
)
{
return
toAjax
(
weTaskFissionRecordService
.
updateWeTaskFissionRecord
(
weTaskFissionRecord
));
}
...
...
@@ -92,7 +92,7 @@ public class WeTaskFissionRecordController extends BaseController {
@ApiOperation
(
value
=
"删除裂变任务完成记录"
,
httpMethod
=
"DELETE"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:record:remove')"
)
@Log
(
title
=
"裂变任务完成记录"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
@DeleteMapping
(
"/
delete/
{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
weTaskFissionRecordService
.
deleteWeTaskFissionRecordByIds
(
ids
));
}
...
...
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeTaskFissionRewardController.java
浏览文件 @
2709d7bc
...
...
@@ -23,7 +23,7 @@ import java.util.List;
* @author leejoker
* @date 2021-01-20
*/
@Api
(
value
=
"任务裂变奖励Controller"
)
@Api
(
description
=
"任务裂变奖励Controller"
)
@RestController
@RequestMapping
(
"/wecom/reward"
)
public
class
WeTaskFissionRewardController
extends
BaseController
{
...
...
@@ -71,7 +71,7 @@ public class WeTaskFissionRewardController extends BaseController {
@ApiOperation
(
value
=
"新增任务裂变奖励"
,
httpMethod
=
"POST"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:reward:add')"
)
@Log
(
title
=
"任务裂变奖励"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
@PostMapping
(
"/add"
)
public
AjaxResult
add
(
@RequestBody
WeTaskFissionReward
weTaskFissionReward
)
{
return
toAjax
(
weTaskFissionRewardService
.
insertWeTaskFissionReward
(
weTaskFissionReward
));
}
...
...
@@ -82,7 +82,7 @@ public class WeTaskFissionRewardController extends BaseController {
@ApiOperation
(
value
=
"修改任务裂变奖励"
,
httpMethod
=
"PUT"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:reward:edit')"
)
@Log
(
title
=
"任务裂变奖励"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
@PutMapping
(
"edit"
)
public
AjaxResult
edit
(
@RequestBody
WeTaskFissionReward
weTaskFissionReward
)
{
return
toAjax
(
weTaskFissionRewardService
.
updateWeTaskFissionReward
(
weTaskFissionReward
));
}
...
...
@@ -93,7 +93,7 @@ public class WeTaskFissionRewardController extends BaseController {
@ApiOperation
(
value
=
"删除任务裂变奖励"
,
httpMethod
=
"DELETE"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:reward:remove')"
)
@Log
(
title
=
"任务裂变奖励"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
@DeleteMapping
(
"/
delete/
{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
weTaskFissionRewardService
.
deleteWeTaskFissionRewardByIds
(
ids
));
}
...
...
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeTaskFissionStaffController.java
浏览文件 @
2709d7bc
...
...
@@ -22,7 +22,7 @@ import java.util.List;
* @author leejoker
* @date 2021-01-20
*/
@Api
(
value
=
"裂变任务员工列Controller"
)
@Api
(
description
=
"裂变任务员工列Controller"
)
@RestController
@RequestMapping
(
"/wecom/staff"
)
public
class
WeTaskFissionStaffController
extends
BaseController
{
...
...
@@ -70,7 +70,7 @@ public class WeTaskFissionStaffController extends BaseController {
@ApiOperation
(
value
=
"新增裂变任务员工列"
,
httpMethod
=
"POST"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:staff:add')"
)
@Log
(
title
=
"裂变任务员工列"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
@PostMapping
(
"/add"
)
public
AjaxResult
add
(
@RequestBody
WeTaskFissionStaff
weTaskFissionStaff
)
{
return
toAjax
(
weTaskFissionStaffService
.
insertWeTaskFissionStaff
(
weTaskFissionStaff
));
}
...
...
@@ -81,7 +81,7 @@ public class WeTaskFissionStaffController extends BaseController {
@ApiOperation
(
value
=
"修改裂变任务员工列"
,
httpMethod
=
"PUT"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:staff:edit')"
)
@Log
(
title
=
"裂变任务员工列"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
@PutMapping
(
"/edit"
)
public
AjaxResult
edit
(
@RequestBody
WeTaskFissionStaff
weTaskFissionStaff
)
{
return
toAjax
(
weTaskFissionStaffService
.
updateWeTaskFissionStaff
(
weTaskFissionStaff
));
}
...
...
@@ -92,7 +92,7 @@ public class WeTaskFissionStaffController extends BaseController {
@ApiOperation
(
value
=
"删除裂变任务员工列"
,
httpMethod
=
"DELETE"
)
@PreAuthorize
(
"@ss.hasPermi('wecom:staff:remove')"
)
@Log
(
title
=
"裂变任务员工列"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
@DeleteMapping
(
"/
delete/
{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
weTaskFissionStaffService
.
deleteWeTaskFissionStaffByIds
(
ids
));
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录