更改成为https

This commit is contained in:
lyf 2023-02-14 15:21:35 +08:00
parent ca958158db
commit adb2b2364c
5 changed files with 14 additions and 3 deletions

View File

@ -93,6 +93,7 @@ public class UserInfoController {
@ApiImplicitParams({
@ApiImplicitParam(name = "UserInfo", value = "待添加的UserInfo实例", paramType = "body", dataType = "UserInfo", required = true)})
public Result<Object> add(@RequestBody UserInfo userInfo) {
userInfo.getPassword();
userInfoNewService.register(userInfo);
return ResultGenerator.genSuccessResult();
}

View File

@ -6,7 +6,7 @@ spring:
driver-class-name: com.mysql.jdbc.Driver
parameter:
### 这个根据自己的情况配置
domain: http://wxgzh.sxczgkj.cn
domain: https://ky.sxczgkj.cn
swagger:
### 生产环境不允许访问swagger

View File

@ -7,7 +7,7 @@ spring:
driver-class-name: com.mysql.jdbc.Driver
parameter:
domain: http://wxgzh.sxczgkj.cn
domain: https://ky.sxczgkj.cn
swagger:
### 生产环境不允许访问swagger

View File

@ -377,4 +377,14 @@ public class StringUtil extends StringUtils {
return sb.toString();
}
/**
* 密码校验
* @param password
* @return
*/
// public static String passwordCheck(String password){
// int length = password.length();
// if (length)
// }
}

View File

@ -91,7 +91,7 @@ spring:
parameter:
# 124.114.74.203本机ip http://60.205.224.68:8084
domain: http://wxgzh.sxczgkj.cn
domain: https://ky.sxczgkj.cn
ALI_APP_AUTH_TOKEN: ${parameter.domain}/wap/aliPay/index
ALI_APP_ID: 支付宝原生接入的APPID
ALI_RATE: 0.006