Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
payment
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
payment
Commits
100991a5
提交
100991a5
authored
6月 12, 2023
作者:
zhenjie
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' of
ssh://git.mmcuav.cn:8222/iuav/payment
into develop
上级
451416f5
23fc6b9b
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
16 行增加
和
4 行删除
+16
-4
Dockerfile
Dockerfile
+1
-0
deployment.yaml
kustomization/base/deployment.yaml
+9
-2
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
RepoCashController.java
...n/java/com/mmc/payment/controller/RepoCashController.java
+1
-1
application.yml
src/main/resources/application.yml
+4
-0
没有找到文件。
Dockerfile
浏览文件 @
100991a5
FROM
openjdk:8-jdk-alpine
FROM
openjdk:8-jdk-alpine
VOLUME
["/var/log/app/"]
ARG
JAVA_OPTS
ARG
JAVA_OPTS
ENV
JAVA_OPTS=$JAVA_OPTS
ENV
JAVA_OPTS=$JAVA_OPTS
RUN
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
&&
echo
'Asia/Shanghai'
>
/etc/timezone
RUN
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
&&
echo
'Asia/Shanghai'
>
/etc/timezone
...
...
kustomization/base/deployment.yaml
浏览文件 @
100991a5
...
@@ -18,6 +18,9 @@ spec:
...
@@ -18,6 +18,9 @@ spec:
containers
:
containers
:
-
name
:
payment
-
name
:
payment
image
:
REGISTRY/NAMESPACE/IMAGE:TAG
image
:
REGISTRY/NAMESPACE/IMAGE:TAG
volumeMounts
:
-
name
:
log-of-app
mountPath
:
/var/log/app
resources
:
resources
:
limits
:
limits
:
memory
:
1024Mi
memory
:
1024Mi
...
@@ -29,4 +32,8 @@ spec:
...
@@ -29,4 +32,8 @@ spec:
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
payment-map
name
:
payment-map
key
:
SPRING_PROFILES_ACTIVE
key
:
SPRING_PROFILES_ACTIVE
\ No newline at end of file
volumes
:
-
name
:
log-of-app
hostPath
:
path
:
/var/log/app
\ No newline at end of file
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
100991a5
...
@@ -14,4 +14,4 @@ patches:
...
@@ -14,4 +14,4 @@ patches:
images
:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/payment
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/payment
newTag
:
642940535bb943af9c9d6997ca98abba29b14203
newTag
:
962913d2eb614f13fed96a484f8d1468c4076539
src/main/java/com/mmc/payment/controller/RepoCashController.java
浏览文件 @
100991a5
...
@@ -83,7 +83,7 @@ public class RepoCashController extends BaseController {
...
@@ -83,7 +83,7 @@ public class RepoCashController extends BaseController {
@ApiOperation
(
value
=
"租赁——订单支付"
)
@ApiOperation
(
value
=
"租赁——订单支付"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)})
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)})
@
Pos
tMapping
(
"orderPayment"
)
@
Ge
tMapping
(
"orderPayment"
)
public
ResultBody
orderPayment
(
HttpServletRequest
request
,
@RequestParam
String
orderNo
)
{
public
ResultBody
orderPayment
(
HttpServletRequest
request
,
@RequestParam
String
orderNo
)
{
return
repoCashService
.
orderPayment
(
this
.
getCurrentAccount
(
request
),
orderNo
);
return
repoCashService
.
orderPayment
(
this
.
getCurrentAccount
(
request
),
orderNo
);
}
}
...
...
src/main/resources/application.yml
浏览文件 @
100991a5
...
@@ -15,8 +15,12 @@ spring:
...
@@ -15,8 +15,12 @@ spring:
jackson
:
jackson
:
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
time-zone
:
GMT+8
time-zone
:
GMT+8
main
:
banner-mode
:
off
logging
:
logging
:
level
:
level
:
com
:
com
:
mmc
:
mmc
:
payment
:
DEBUG
payment
:
DEBUG
file
:
name
:
"
/var/log/app/${spring.application.name}.log"
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论