Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
ims
Commits
c0b3ed92
提交
c0b3ed92
authored
4月 13, 2024
作者:
刘明祎-运维用途
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
判断当前用户是否是飞手
上级
58017101
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
12 行增加
和
0 行删除
+12
-0
UserAccountSimpleDTO.java
...java/com/mmc/csf/infomation/dto/UserAccountSimpleDTO.java
+3
-0
UserAppApi.java
...e/src/main/java/com/mmc/csf/release/feign/UserAppApi.java
+9
-0
没有找到文件。
csf-common/csf-common-model/src/main/java/com/mmc/csf/infomation/dto/UserAccountSimpleDTO.java
浏览文件 @
c0b3ed92
...
...
@@ -6,6 +6,7 @@ import lombok.AllArgsConstructor;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
org.checkerframework.checker.units.qual.A
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
...
...
@@ -57,4 +58,6 @@ public class UserAccountSimpleDTO implements Serializable {
private
String
briefIntroduction
;
@ApiModelProperty
(
value
=
"封面背景图"
)
private
String
coverPicture
;
@ApiModelProperty
(
value
=
"是否是飞手"
)
private
int
isPilot
;
}
release-service/src/main/java/com/mmc/csf/release/feign/UserAppApi.java
浏览文件 @
c0b3ed92
...
...
@@ -12,6 +12,7 @@ import com.mmc.csf.release.feign.hystrix.UserAppApiHystrix;
import
com.mmc.csf.release.flyer.vo.CurriculumOrderLogVO
;
import
com.mmc.csf.user.vo.ChangeUserPointVO
;
import
com.mmc.csf.user.vo.WxMsgVO
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiParam
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -83,27 +84,35 @@ public interface UserAppApi {
@PostMapping
(
"/userapp/userPoint/change"
)
public
ResultBody
changeUserPoint
(
@RequestBody
ChangeUserPointVO
changePoint
,
@RequestHeader
(
"token"
)
String
token
);
//查询团队里面的飞手id
@GetMapping
(
"/userapp/pilot/selectPilotIdList"
)
List
<
Integer
>
feignGetPilotIdList
(
@RequestHeader
(
"token"
)
String
token
);
//获取用户的基本信息
@GetMapping
(
"/userapp/user-account/feignGetUserBaseInfo"
)
UserBaseInfoDTO
feignGetUserBaseInfo
(
@RequestParam
Integer
userAccountId
);
//修改用户积分
@GetMapping
(
"/userapp/userPoint/feignChangeUserPoints"
)
ResultBody
feignChangeUserPoints
(
@RequestHeader
(
"token"
)
String
token
,
@RequestHeader
HttpServletRequest
request
,
@RequestParam
(
"id"
)
int
changePoint
,
@RequestParam
(
"reason"
)
String
reason
);
//课程订单钱包流水记录
@PostMapping
(
"/userapp/pay/feignCurriculumOrderLog"
)
ResultBody
feignCurriculumOrderLog
(
@RequestHeader
(
"token"
)
String
token
,
@RequestHeader
HttpServletRequest
request
,
@RequestBody
CurriculumOrderLogVO
curriculumOrderLogVO
);
//发送消息
@PostMapping
(
"/userapp/wx/send"
)
ResultBody
feignSendWxMsg
(
@RequestHeader
(
"token"
)
String
token
,
@RequestBody
WxMsgVO
ws
);
//查询飞手的团队管理员的ID
@GetMapping
(
"/userapp/pilot/selectPilotTeamManagerId"
)
Integer
selectPilotTeamManagerId
(
@RequestHeader
(
"token"
)
String
token
,
@RequestParam
Integer
pilotUserId
);
//查询飞手的手机号
@GetMapping
(
"/userapp/pilot/getPilotApplyPhone"
)
String
getPilotApplyPhone
(
@RequestHeader
(
"token"
)
String
token
,
@RequestParam
Integer
userAccountId
);
//修改用户的积分
@GetMapping
(
"/userapp/userPoint/changeUserPoints"
)
ResultBody
changeUserPoints
(
@RequestHeader
(
"token"
)
String
token
,
@RequestHeader
HttpServletRequest
request
,
@RequestParam
(
"id"
)
Integer
id
);
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论