Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
O
operate-customer-service
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
沈振路
operate-customer-service
Commits
8a9c70e5
提交
8a9c70e5
authored
2月 20, 2023
作者:
沈振路
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'customer_service_SZlu'
上级
f1bf7754
09af1d22
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
18 行增加
和
19 行删除
+18
-19
OperateLogAop.java
src/main/java/com/yaoyaozw/customer/aop/OperateLogAop.java
+1
-2
CrowdPackageController.java
.../yaoyaozw/customer/controller/CrowdPackageController.java
+5
-5
CustomerDelayGraphicsController.java
.../customer/controller/CustomerDelayGraphicsController.java
+3
-3
CustomerDelayTextController.java
...aozw/customer/controller/CustomerDelayTextController.java
+3
-3
CustomerMessageGraphicsController.java
...ustomer/controller/CustomerMessageGraphicsController.java
+3
-3
CustomerMessageTextController.java
...zw/customer/controller/CustomerMessageTextController.java
+3
-3
没有找到文件。
src/main/java/com/yaoyaozw/customer/aop/OperateLogAop.java
浏览文件 @
8a9c70e5
...
@@ -34,7 +34,6 @@ public class OperateLogAop {
...
@@ -34,7 +34,6 @@ public class OperateLogAop {
private
ObjectMapper
objectMapper
;
private
ObjectMapper
objectMapper
;
@Autowired
@Autowired
private
SystemOperateLogService
operateLogService
;
private
SystemOperateLogService
operateLogService
;
/*
@Pointcut
(
"@annotation(com.yaoyaozw.customer.annotations.OperateLog)"
)
@Pointcut
(
"@annotation(com.yaoyaozw.customer.annotations.OperateLog)"
)
public
void
operateLogCut
()
{
public
void
operateLogCut
()
{
//操作日志切点
//操作日志切点
...
@@ -81,6 +80,6 @@ public class OperateLogAop {
...
@@ -81,6 +80,6 @@ public class OperateLogAop {
operateLogService
.
save
(
operateLogEntity
);
operateLogService
.
save
(
operateLogEntity
);
}
}
}
*/
}
}
}
src/main/java/com/yaoyaozw/customer/controller/CrowdPackageController.java
浏览文件 @
8a9c70e5
...
@@ -30,7 +30,7 @@ public class CrowdPackageController {
...
@@ -30,7 +30,7 @@ public class CrowdPackageController {
@ApiOperation
(
"新增人群包"
)
@ApiOperation
(
"新增人群包"
)
@GetMapping
(
"/insertPackage"
)
@GetMapping
(
"/insertPackage"
)
@OperateLog
(
desc
=
"新增人群包"
)
@OperateLog
(
module
=
"人群包"
,
desc
=
"新增人群包"
)
public
GenericsResult
<
CrowdPackageCommonIdVO
>
insertCrowdPackage
(
@RequestParam
(
required
=
false
)
Long
id
,
public
GenericsResult
<
CrowdPackageCommonIdVO
>
insertCrowdPackage
(
@RequestParam
(
required
=
false
)
Long
id
,
@RequestParam
(
required
=
false
)
String
name
,
@RequestParam
(
required
=
false
)
String
name
,
@RequestParam
(
required
=
false
)
Double
activeTimeMin
,
@RequestParam
(
required
=
false
)
Double
activeTimeMin
,
...
@@ -40,7 +40,7 @@ public class CrowdPackageController {
...
@@ -40,7 +40,7 @@ public class CrowdPackageController {
@ApiOperation
(
"向人群包内新增条件"
)
@ApiOperation
(
"向人群包内新增条件"
)
@PostMapping
(
"/insertCondition"
)
@PostMapping
(
"/insertCondition"
)
@OperateLog
(
desc
=
"添加人群包条件"
)
@OperateLog
(
module
=
"人群包"
,
desc
=
"添加人群包条件"
)
public
GenericsResult
<
CrowdPackageCommonIdVO
>
insertCondition
(
@RequestBody
CrowdPackageConditionDTO
conditionDto
)
{
public
GenericsResult
<
CrowdPackageCommonIdVO
>
insertCondition
(
@RequestBody
CrowdPackageConditionDTO
conditionDto
)
{
return
crowdPackageService
.
insertConditionIntoPackage
(
conditionDto
);
return
crowdPackageService
.
insertConditionIntoPackage
(
conditionDto
);
}
}
...
@@ -53,14 +53,14 @@ public class CrowdPackageController {
...
@@ -53,14 +53,14 @@ public class CrowdPackageController {
@ApiOperation
(
"删除人群包"
)
@ApiOperation
(
"删除人群包"
)
@GetMapping
(
"/removePackage/{id}"
)
@GetMapping
(
"/removePackage/{id}"
)
@OperateLog
(
desc
=
"删除人群包"
)
@OperateLog
(
module
=
"人群包"
,
desc
=
"删除人群包"
)
public
BaseResult
removeCrowdPackage
(
@PathVariable
(
"id"
)
Long
id
)
{
public
BaseResult
removeCrowdPackage
(
@PathVariable
(
"id"
)
Long
id
)
{
return
crowdPackageService
.
removeCrowdPackage
(
id
);
return
crowdPackageService
.
removeCrowdPackage
(
id
);
}
}
@ApiOperation
(
"从人群包中删除条件"
)
@ApiOperation
(
"从人群包中删除条件"
)
@GetMapping
(
"/removeCondition/{linkedId}"
)
@GetMapping
(
"/removeCondition/{linkedId}"
)
@OperateLog
(
desc
=
"删除人群包条件"
)
@OperateLog
(
module
=
"人群包"
,
desc
=
"删除人群包条件"
)
public
BaseResult
removeCondition
(
@PathVariable
(
"linkedId"
)
Long
linkedId
)
{
public
BaseResult
removeCondition
(
@PathVariable
(
"linkedId"
)
Long
linkedId
)
{
return
crowdPackageService
.
removeConditionFromPackage
(
linkedId
);
return
crowdPackageService
.
removeConditionFromPackage
(
linkedId
);
}
}
...
@@ -85,7 +85,7 @@ public class CrowdPackageController {
...
@@ -85,7 +85,7 @@ public class CrowdPackageController {
@ApiOperation
(
"更新用户列表所属的人群包"
)
@ApiOperation
(
"更新用户列表所属的人群包"
)
@GetMapping
(
"/updateUserPackageBatch"
)
@GetMapping
(
"/updateUserPackageBatch"
)
@OperateLog
(
desc
=
"更新用户列表所属的人群包"
)
@OperateLog
(
module
=
"人群包"
,
desc
=
"更新用户列表所属的人群包"
)
public
BaseResult
updateUserPackageBatch
(
@RequestBody
List
<
String
>
openIdList
)
{
public
BaseResult
updateUserPackageBatch
(
@RequestBody
List
<
String
>
openIdList
)
{
return
crowdPackageService
.
updateUserPackageBatch
(
openIdList
);
return
crowdPackageService
.
updateUserPackageBatch
(
openIdList
);
}
}
...
...
src/main/java/com/yaoyaozw/customer/controller/CustomerDelayGraphicsController.java
浏览文件 @
8a9c70e5
...
@@ -36,7 +36,7 @@ public class CustomerDelayGraphicsController {
...
@@ -36,7 +36,7 @@ public class CustomerDelayGraphicsController {
@ApiOperation
(
"新增"
)
@ApiOperation
(
"新增"
)
@PostMapping
(
"/insert"
)
@PostMapping
(
"/insert"
)
@OperateLog
(
desc
=
"新增图文延时客服"
)
@OperateLog
(
module
=
"延时客服"
,
desc
=
"新增图文延时客服"
)
@AccountOperateControl
(
paramType
=
AccountParamType
.
REQUEST_BODY
,
paramName
=
"saveDto"
,
columnType
=
AccountTableColumnType
.
APP_ID
,
property
=
"appId"
)
@AccountOperateControl
(
paramType
=
AccountParamType
.
REQUEST_BODY
,
paramName
=
"saveDto"
,
columnType
=
AccountTableColumnType
.
APP_ID
,
property
=
"appId"
)
public
BaseResult
insertCustomerDelay
(
@RequestBody
CustomerDelaySaveDTO
saveDto
)
{
public
BaseResult
insertCustomerDelay
(
@RequestBody
CustomerDelaySaveDTO
saveDto
)
{
return
customerGraphicsDelayService
.
insertCustomerDelay
(
saveDto
);
return
customerGraphicsDelayService
.
insertCustomerDelay
(
saveDto
);
...
@@ -63,7 +63,7 @@ public class CustomerDelayGraphicsController {
...
@@ -63,7 +63,7 @@ public class CustomerDelayGraphicsController {
@ApiOperation
(
"删除"
)
@ApiOperation
(
"删除"
)
@GetMapping
(
"/remove/{id}"
)
@GetMapping
(
"/remove/{id}"
)
@OperateLog
(
desc
=
"删除图文延时客服"
)
@OperateLog
(
module
=
"延时客服"
,
desc
=
"删除图文延时客服"
)
@AccountOperateControl
(
paramType
=
AccountParamType
.
TABLE_PRIMARY
,
paramName
=
"id"
,
columnType
=
AccountTableColumnType
.
APP_ID
,
table
=
"customer_graphics_delay"
,
column
=
"app_id"
)
@AccountOperateControl
(
paramType
=
AccountParamType
.
TABLE_PRIMARY
,
paramName
=
"id"
,
columnType
=
AccountTableColumnType
.
APP_ID
,
table
=
"customer_graphics_delay"
,
column
=
"app_id"
)
public
BaseResult
removeCustomerDelay
(
@PathVariable
(
"id"
)
Long
id
)
{
public
BaseResult
removeCustomerDelay
(
@PathVariable
(
"id"
)
Long
id
)
{
return
customerGraphicsDelayService
.
removeCustomerDelay
(
id
);
return
customerGraphicsDelayService
.
removeCustomerDelay
(
id
);
...
@@ -77,7 +77,7 @@ public class CustomerDelayGraphicsController {
...
@@ -77,7 +77,7 @@ public class CustomerDelayGraphicsController {
@ApiOperation
(
"复用"
)
@ApiOperation
(
"复用"
)
@PostMapping
(
"/copy"
)
@PostMapping
(
"/copy"
)
@OperateLog
(
desc
=
"复用图文延时客服"
)
@OperateLog
(
module
=
"延时客服"
,
desc
=
"复用图文延时客服"
)
public
BaseResult
copy
(
@RequestParam
String
appId
,
public
BaseResult
copy
(
@RequestParam
String
appId
,
@RequestParam
(
required
=
false
)
String
bookId
,
@RequestParam
(
required
=
false
)
String
bookId
,
@RequestParam
(
required
=
false
)
String
bookName
,
@RequestParam
(
required
=
false
)
String
bookName
,
...
...
src/main/java/com/yaoyaozw/customer/controller/CustomerDelayTextController.java
浏览文件 @
8a9c70e5
...
@@ -28,7 +28,7 @@ public class CustomerDelayTextController {
...
@@ -28,7 +28,7 @@ public class CustomerDelayTextController {
@ApiOperation
(
"新增客服主体"
)
@ApiOperation
(
"新增客服主体"
)
@PostMapping
(
"/insertCustomerDelay"
)
@PostMapping
(
"/insertCustomerDelay"
)
@OperateLog
(
desc
=
"新增文本延时客服"
)
@OperateLog
(
module
=
"延时客服-文本"
,
desc
=
"新增文本延时客服"
)
@AccountOperateControl
(
paramType
=
AccountParamType
.
REQUEST_BODY
,
paramName
=
"saveDto"
,
columnType
=
AccountTableColumnType
.
APP_ID
,
property
=
"appId"
)
@AccountOperateControl
(
paramType
=
AccountParamType
.
REQUEST_BODY
,
paramName
=
"saveDto"
,
columnType
=
AccountTableColumnType
.
APP_ID
,
property
=
"appId"
)
public
GenericsResult
<
String
>
insertCustomerDelay
(
@RequestBody
CustomerDelayTextSaveDTO
saveDto
)
{
public
GenericsResult
<
String
>
insertCustomerDelay
(
@RequestBody
CustomerDelayTextSaveDTO
saveDto
)
{
return
textService
.
insertCustomerDelay
(
saveDto
);
return
textService
.
insertCustomerDelay
(
saveDto
);
...
@@ -36,7 +36,7 @@ public class CustomerDelayTextController {
...
@@ -36,7 +36,7 @@ public class CustomerDelayTextController {
@ApiOperation
(
"新增客服内容"
)
@ApiOperation
(
"新增客服内容"
)
@PostMapping
(
"/insertCustomerContent"
)
@PostMapping
(
"/insertCustomerContent"
)
@OperateLog
(
desc
=
"新增文本延时客服子素材"
)
@OperateLog
(
module
=
"延时客服-文本"
,
desc
=
"新增文本延时客服子素材"
)
public
GenericsResult
<
CustomerDelayTextDetailVO
>
insertCustomerContent
(
@RequestBody
CustomerReferralDTO
referralDto
)
{
public
GenericsResult
<
CustomerDelayTextDetailVO
>
insertCustomerContent
(
@RequestBody
CustomerReferralDTO
referralDto
)
{
return
textService
.
insertCustomerContent
(
referralDto
);
return
textService
.
insertCustomerContent
(
referralDto
);
}
}
...
@@ -50,7 +50,7 @@ public class CustomerDelayTextController {
...
@@ -50,7 +50,7 @@ public class CustomerDelayTextController {
@ApiOperation
(
"删除单条文本内容"
)
@ApiOperation
(
"删除单条文本内容"
)
@GetMapping
(
"/removeCustomerContent/{contentId}"
)
@GetMapping
(
"/removeCustomerContent/{contentId}"
)
@OperateLog
(
desc
=
"删除文本延时客服子素材"
)
@OperateLog
(
module
=
"延时客服-文本"
,
desc
=
"删除文本延时客服子素材"
)
public
GenericsResult
<
CustomerDelayTextDetailVO
>
removeCustomerContent
(
@PathVariable
(
"contentId"
)
Long
contentId
)
{
public
GenericsResult
<
CustomerDelayTextDetailVO
>
removeCustomerContent
(
@PathVariable
(
"contentId"
)
Long
contentId
)
{
return
textService
.
removeCustomerContent
(
contentId
);
return
textService
.
removeCustomerContent
(
contentId
);
}
}
...
...
src/main/java/com/yaoyaozw/customer/controller/CustomerMessageGraphicsController.java
浏览文件 @
8a9c70e5
...
@@ -32,7 +32,7 @@ public class CustomerMessageGraphicsController {
...
@@ -32,7 +32,7 @@ public class CustomerMessageGraphicsController {
@ApiOperation
(
"新增"
)
@ApiOperation
(
"新增"
)
@PostMapping
(
"/insert"
)
@PostMapping
(
"/insert"
)
@OperateLog
(
desc
=
"新增图文客服消息"
)
@OperateLog
(
module
=
"客服消息"
,
desc
=
"新增图文客服消息"
)
public
BaseResult
insertCustomerMessage
(
@RequestBody
CustomerMessageSaveDTO
saveDto
)
{
public
BaseResult
insertCustomerMessage
(
@RequestBody
CustomerMessageSaveDTO
saveDto
)
{
return
customerGraphicsService
.
insertCustomerMessage
(
saveDto
);
return
customerGraphicsService
.
insertCustomerMessage
(
saveDto
);
}
}
...
@@ -51,14 +51,14 @@ public class CustomerMessageGraphicsController {
...
@@ -51,14 +51,14 @@ public class CustomerMessageGraphicsController {
@ApiOperation
(
"删除"
)
@ApiOperation
(
"删除"
)
@GetMapping
(
"/remove/{id}"
)
@GetMapping
(
"/remove/{id}"
)
@OperateLog
(
desc
=
"删除图文客服消息"
)
@OperateLog
(
module
=
"客服消息"
,
desc
=
"删除图文客服消息"
)
public
BaseResult
removeCustomerMessage
(
@PathVariable
(
"id"
)
Long
id
)
{
public
BaseResult
removeCustomerMessage
(
@PathVariable
(
"id"
)
Long
id
)
{
return
customerGraphicsService
.
removeCustomerMessage
(
id
);
return
customerGraphicsService
.
removeCustomerMessage
(
id
);
}
}
@ApiOperation
(
"设置人群包"
)
@ApiOperation
(
"设置人群包"
)
@GetMapping
(
"/setPack"
)
@GetMapping
(
"/setPack"
)
@OperateLog
(
desc
=
"设置人群包"
)
@OperateLog
(
module
=
"客服消息"
,
desc
=
"设置人群包"
)
public
BaseResult
setPack
(
@RequestParam
Long
id
,
@RequestParam
Long
packId
)
{
public
BaseResult
setPack
(
@RequestParam
Long
id
,
@RequestParam
Long
packId
)
{
return
customerGraphicsService
.
setPack
(
id
,
packId
);
return
customerGraphicsService
.
setPack
(
id
,
packId
);
}
}
...
...
src/main/java/com/yaoyaozw/customer/controller/CustomerMessageTextController.java
浏览文件 @
8a9c70e5
...
@@ -25,14 +25,14 @@ public class CustomerMessageTextController {
...
@@ -25,14 +25,14 @@ public class CustomerMessageTextController {
@ApiOperation
(
"新增客服主体"
)
@ApiOperation
(
"新增客服主体"
)
@PostMapping
(
"/insertCustomerMessage"
)
@PostMapping
(
"/insertCustomerMessage"
)
@OperateLog
(
desc
=
"新增文本客服消息"
)
@OperateLog
(
module
=
"客服消息-文本"
,
desc
=
"新增文本客服消息"
)
public
GenericsResult
<
String
>
insertCustomerMessage
(
@RequestBody
CustomerMessageTextSaveDTO
saveDto
)
{
public
GenericsResult
<
String
>
insertCustomerMessage
(
@RequestBody
CustomerMessageTextSaveDTO
saveDto
)
{
return
textService
.
insertCustomerMessage
(
saveDto
);
return
textService
.
insertCustomerMessage
(
saveDto
);
}
}
@ApiOperation
(
"新增客服内容"
)
@ApiOperation
(
"新增客服内容"
)
@PostMapping
(
"/insertCustomerContent"
)
@PostMapping
(
"/insertCustomerContent"
)
@OperateLog
(
desc
=
"新增文本客服消息子素材"
)
@OperateLog
(
module
=
"客服消息-文本"
,
desc
=
"新增文本客服消息子素材"
)
public
GenericsResult
<
CustomerMessageTextDetailVO
>
insertCustomerContent
(
@RequestBody
CustomerReferralDTO
referralDto
)
{
public
GenericsResult
<
CustomerMessageTextDetailVO
>
insertCustomerContent
(
@RequestBody
CustomerReferralDTO
referralDto
)
{
return
textService
.
insertCustomerContent
(
referralDto
);
return
textService
.
insertCustomerContent
(
referralDto
);
}
}
...
@@ -45,7 +45,7 @@ public class CustomerMessageTextController {
...
@@ -45,7 +45,7 @@ public class CustomerMessageTextController {
@ApiOperation
(
"删除单条文本内容"
)
@ApiOperation
(
"删除单条文本内容"
)
@GetMapping
(
"/removeCustomerContent/{contentId}"
)
@GetMapping
(
"/removeCustomerContent/{contentId}"
)
@OperateLog
(
desc
=
"删除文本客服消息子素材"
)
@OperateLog
(
module
=
"客服消息-文本"
,
desc
=
"删除文本客服消息子素材"
)
public
GenericsResult
<
CustomerMessageTextDetailVO
>
removeCustomerContent
(
@PathVariable
(
"contentId"
)
Long
contentId
)
{
public
GenericsResult
<
CustomerMessageTextDetailVO
>
removeCustomerContent
(
@PathVariable
(
"contentId"
)
Long
contentId
)
{
return
textService
.
removeCustomerContent
(
contentId
);
return
textService
.
removeCustomerContent
(
contentId
);
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论