提交 a97dd02f 作者: 刘明祎-运维用途

配置

上级 3f7904ce
...@@ -59,6 +59,7 @@ docker_build_prod: ...@@ -59,6 +59,7 @@ docker_build_prod:
- docker logout - docker logout
kustomize_set_image_dev: kustomize_set_image_dev:
stage: kustomize_tag_push stage: kustomize_tag_push
variables: variables:
......
...@@ -41,7 +41,7 @@ public class PilotCertificationDTO { ...@@ -41,7 +41,7 @@ public class PilotCertificationDTO {
@NotBlank(message = "电子执照的编号不能为空", groups = {Create.class, Update.class}) @NotBlank(message = "电子执照的编号不能为空", groups = {Create.class, Update.class})
private String licenseNumber; private String licenseNumber;
@ApiModelProperty(value = "上传执照", example = "http://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true) @ApiModelProperty(value = "上传执照", example = "http://share-fly.oss-cn-hangzhou.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true)
@NotBlank(message = "上传执照的照片不能为空", groups = {Create.class, Update.class}) @NotBlank(message = "上传执照的照片不能为空", groups = {Create.class, Update.class})
private String licenseUrl; private String licenseUrl;
...@@ -61,7 +61,7 @@ public class PilotCertificationDTO { ...@@ -61,7 +61,7 @@ public class PilotCertificationDTO {
@NotNull(message = "能力不能为空", groups = {Create.class, Update.class}) @NotNull(message = "能力不能为空", groups = {Create.class, Update.class})
List<PilotAbilityVO> pilotAbility; List<PilotAbilityVO> pilotAbility;
@ApiModelProperty(value = "能力不能为空", example = "http://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true) @ApiModelProperty(value = "能力不能为空", example = "http://share-fly.oss-cn-hangzhou.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true)
@NotBlank(message = "能力图片不能为空", groups = {Create.class, Update.class}) @NotBlank(message = "能力图片不能为空", groups = {Create.class, Update.class})
private String abilityUrl; private String abilityUrl;
......
...@@ -74,7 +74,7 @@ public class CompanyInfoVO implements Serializable { ...@@ -74,7 +74,7 @@ public class CompanyInfoVO implements Serializable {
private String content; private String content;
@ApiModelProperty(value = "评分", example = "*****") @ApiModelProperty(value = "评分", example = "*****")
private Integer score; private Integer score;
@ApiModelProperty(value = "背景图", example = "http://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/3505c402-cbf9-41a5-9d6f-bdb350625bea.jpg") @ApiModelProperty(value = "背景图", example = "http://share-fly.oss-cn-hangzhou.aliyuncs.com/file/3505c402-cbf9-41a5-9d6f-bdb350625bea.jpg")
private String backImg; private String backImg;
@ApiModelProperty(value = "当前距离") @ApiModelProperty(value = "当前距离")
private Double distance; private Double distance;
......
...@@ -42,7 +42,7 @@ public class PilotCertificationVO { ...@@ -42,7 +42,7 @@ public class PilotCertificationVO {
@NotBlank(message = "电子执照的编号不能为空", groups = {Create.class, Update.class}) @NotBlank(message = "电子执照的编号不能为空", groups = {Create.class, Update.class})
private String licenseNumber; private String licenseNumber;
@ApiModelProperty(value = "上传执照", example = "http://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true) @ApiModelProperty(value = "上传执照", example = "http://share-fly.oss-cn-hangzhou.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true)
@NotBlank(message = "上传执照的照片不能为空", groups = {Create.class, Update.class}) @NotBlank(message = "上传执照的照片不能为空", groups = {Create.class, Update.class})
private String licenseUrl; private String licenseUrl;
...@@ -62,7 +62,7 @@ public class PilotCertificationVO { ...@@ -62,7 +62,7 @@ public class PilotCertificationVO {
@NotNull(message = "能力不能为空", groups = {Create.class, Update.class}) @NotNull(message = "能力不能为空", groups = {Create.class, Update.class})
List<PilotAbilityVO> pilotAbility; List<PilotAbilityVO> pilotAbility;
@ApiModelProperty(value = "能力不能为空", example = "http://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true) @ApiModelProperty(value = "能力不能为空", example = "http://share-fly.oss-cn-hangzhou.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true)
@NotBlank(message = "能力图片不能为空", groups = {Create.class, Update.class}) @NotBlank(message = "能力图片不能为空", groups = {Create.class, Update.class})
private String abilityUrl; private String abilityUrl;
......
...@@ -54,7 +54,7 @@ public class TokenCheckHandleInterceptor implements HandlerInterceptor { ...@@ -54,7 +54,7 @@ public class TokenCheckHandleInterceptor implements HandlerInterceptor {
// log.info("remoteHost: {}", remoteHost); // log.info("remoteHost: {}", remoteHost);
// log.info("forwardedFor: {}", forwardedFor); // log.info("forwardedFor: {}", forwardedFor);
// log.info("forwardedHost: {}", forwardedHost); // log.info("forwardedHost: {}", forwardedHost);
// if (hostName.equals("iuav.mmcuav.cn") || hostName.equals("test.iuav.mmcuav.cn") || hostName.equals("www.iuav.shop") || hostName.equals("test.iuav.shop")){ // if (hostName.equals("iuav.mmcuav.cn") || hostName.equals("test.iuav.mmcuav.cn") || hostName.equals("www.iuav.com") || hostName.equals("test.iuav.com")){
// String token = request.getHeader("token"); // String token = request.getHeader("token");
// if (StringUtils.isBlank(token)){ // if (StringUtils.isBlank(token)){
// exceptionProcess(response); // exceptionProcess(response);
......
...@@ -46,7 +46,7 @@ public class PilotCertificationDO { ...@@ -46,7 +46,7 @@ public class PilotCertificationDO {
@NotBlank(message = "电子执照的编号不能为空", groups = {Create.class, Update.class}) @NotBlank(message = "电子执照的编号不能为空", groups = {Create.class, Update.class})
private String licenseNumber; private String licenseNumber;
@ApiModelProperty(value = "上传执照", example = "http://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true) @ApiModelProperty(value = "上传执照", example = "http://share-fly.oss-cn-hangzhou.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true)
@NotBlank(message = "上传执照的照片不能为空", groups = {Create.class, Update.class}) @NotBlank(message = "上传执照的照片不能为空", groups = {Create.class, Update.class})
private String licenseUrl; private String licenseUrl;
...@@ -67,7 +67,7 @@ public class PilotCertificationDO { ...@@ -67,7 +67,7 @@ public class PilotCertificationDO {
@NotNull(message = "能力不能为空", groups = {Create.class, Update.class}) @NotNull(message = "能力不能为空", groups = {Create.class, Update.class})
private List<PilotAbilityVO> pilotAbility; private List<PilotAbilityVO> pilotAbility;
@ApiModelProperty(value = "能力不能为空", example = "http://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true) @ApiModelProperty(value = "能力不能为空", example = "http://share-fly.oss-cn-hangzhou.aliyuncs.com/file/2cbbeffb-c1d1-4b26-a9a9-9e17c85e35a9.jpg", required = true)
@NotBlank(message = "能力图片不能为空", groups = {Create.class, Update.class}) @NotBlank(message = "能力图片不能为空", groups = {Create.class, Update.class})
private String abilityUrl; private String abilityUrl;
......
...@@ -154,7 +154,7 @@ public class XzServiceImpl implements XzService { ...@@ -154,7 +154,7 @@ public class XzServiceImpl implements XzService {
.customParams(com.alibaba.fastjson2.JSONObject.toJSONString(userInfo)) .customParams(com.alibaba.fastjson2.JSONObject.toJSONString(userInfo))
.idCardNo(realNameAuthDO.getIdNumber()) .idCardNo(realNameAuthDO.getIdNumber())
.infoSource("1") .infoSource("1")
.jumpPage("https://test.iuav.shop/network/#/pages/electronic-contracting/index") .jumpPage("https://test.iuav.com/network/#/pages/electronic-contracting/index")
.mobile(loginSuccessDTO.getPhoneNum()) .mobile(loginSuccessDTO.getPhoneNum())
.notifyUrl(userSystemConstant.getAuthNotify()) .notifyUrl(userSystemConstant.getAuthNotify())
.position(userSystemConstant.getXzPosition()) .position(userSystemConstant.getXzPosition())
......
...@@ -11,8 +11,8 @@ import com.google.gson.Gson; ...@@ -11,8 +11,8 @@ import com.google.gson.Gson;
*/ */
public class SmsUtil { public class SmsUtil {
public static String ALIYUN_OSS_ACCESS_KEY_ID = "LTAI4FzCpyrA33PegnxWS6XV"; public static String ALIYUN_OSS_ACCESS_KEY_ID = "LTAI5tK6UG2LzMkf1FKZBkBU";
public static String ALIYUN_OSS_ACCESS_KEY_SECRET = "ILuNh3zJfRjg3iARSipMWBKCjglz3u"; public static String ALIYUN_OSS_ACCESS_KEY_SECRET = "UrXws5uVH6JMf0jCwipjOug4nHQvAz";
public static String CLOUD_JOIN_WEBSITE = "云享飞"; public static String CLOUD_JOIN_WEBSITE = "云享飞";
......
...@@ -3,7 +3,7 @@ spring: ...@@ -3,7 +3,7 @@ spring:
#Database #Database
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://mysql.default:3306/iuav_cms_dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8 url: jdbc:mysql://rm-bp1m8kze2l399i1jyko.mysql.rds.aliyuncs.com:3306/iuav_cms_dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
username: iuav_dev username: iuav_dev
password: ${MYSQL_PASSWORD} password: ${MYSQL_PASSWORD}
# Druid数据源配置 # Druid数据源配置
......
...@@ -3,7 +3,7 @@ spring: ...@@ -3,7 +3,7 @@ spring:
#Database #Database
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://rm-wz9dd796t4j1giz6t2o.mysql.rds.aliyuncs.com:3306/iuav_cms_dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8 url: jdbc:mysql://rm-bp1m8kze2l399i1jyko.mysql.rds.aliyuncs.com:3306/iuav_cms_dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
username: iuav_dev username: iuav_dev
password: IUAV_DEV@2023&MYSQL password: IUAV_DEV@2023&MYSQL
# Druid数据源配置 # Druid数据源配置
......
...@@ -3,7 +3,7 @@ spring: ...@@ -3,7 +3,7 @@ spring:
#Database #Database
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://mysql.default:3306/iuav_cms?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8 url: jdbc:mysql://rm-bp1m8kze2l399i1jyko.mysql.rds.aliyuncs.com:3306/iuav_cms?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8
username: iuav username: iuav
password: ${MYSQL_PASSWORD} password: ${MYSQL_PASSWORD}
# Druid数据源配置 # Druid数据源配置
......
...@@ -18,4 +18,4 @@ patches: ...@@ -18,4 +18,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms
newTag: 0296dd1f8cf0ac68d08954ca8785dfcfbfe5a2a9 newTag: 3f7904ce29fd731d1c77da1d8f90c5158e25e52c
...@@ -18,4 +18,4 @@ patches: ...@@ -18,4 +18,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/cms newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/cms
newTag: 1ab13d69651c5b403ab777b73c8ad72ec5831057 newTag: 1d65616deb87007a6d278ce80bd5fbfbc8993e9f
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论