提交 100991a5 作者: zhenjie

Merge branch 'develop' of ssh://git.mmcuav.cn:8222/iuav/payment into develop

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
......
...@@ -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
...@@ -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
...@@ -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)})
@PostMapping("orderPayment") @GetMapping("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);
} }
......
...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论