后台协议添加,快递鸟相关常数,正式服务器相关参数改动,快递鸟相关接口,苹果相关cid配置,改变提示,登录接口改为post请求,微信跳转连接
This commit is contained in:
@@ -75,6 +75,9 @@ public class PushController {
|
||||
|
||||
String uid = userApp.getUserId().toString();
|
||||
String cid = param.get("cid").toString();
|
||||
if (cid.isEmpty()){
|
||||
return ResultGenerator.genSuccessResult();
|
||||
}
|
||||
|
||||
String deviceType = httpServletRequest.getHeader("type");
|
||||
|
||||
@@ -142,6 +145,9 @@ public class PushController {
|
||||
String uid = userApp.getUserId().toString();
|
||||
String cid = param.get("cid").toString();
|
||||
|
||||
if (cid.isEmpty()){
|
||||
return ResultGenerator.genSuccessResult();
|
||||
}
|
||||
String deviceType = httpServletRequest.getHeader("type");
|
||||
|
||||
String token = "";
|
||||
|
||||
@@ -229,6 +229,17 @@ public class UserInfoController {
|
||||
return ResultGenerator.genSuccessResult();
|
||||
}
|
||||
|
||||
/**
|
||||
* 新版登录
|
||||
* @param userInfo
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/login")
|
||||
public Result<Map<String, Object>> detail(@RequestBody UserInfo userInfo) {
|
||||
Map<String, Object> login = userInfoNewService.login(userInfo.getLoginName(), userInfo.getPassword());
|
||||
return ResultGenerator.genSuccessResult(login);
|
||||
}
|
||||
|
||||
@GetMapping("/{loginName}/{password}")
|
||||
@ApiOperation(tags = {"页面-登录", "页面-切换商户"}, value = "登录", notes = "登录接口", httpMethod = "GET")
|
||||
@ApiImplicitParams({
|
||||
@@ -265,6 +276,19 @@ public class UserInfoController {
|
||||
return ResultGenerator.genSuccessResult("保存安全密码成功", null);
|
||||
}
|
||||
|
||||
@PostMapping("/checkPayPassword")
|
||||
public Result<Object> checkPayPassword(@RequestBody UserInfo userInfo){
|
||||
if (userInfo.getId() == null){
|
||||
return ResultGenerator.genFailResult("无ID");
|
||||
}
|
||||
UserInfo payPassword = userInfoNewService.queryUserInfo(userInfo);
|
||||
if (payPassword.getPayPassword() == null){
|
||||
return ResultGenerator.genSuccessResult("无支付密码","0");
|
||||
}else {
|
||||
return ResultGenerator.genSuccessResult("ok","1");
|
||||
}
|
||||
}
|
||||
|
||||
@PostMapping("/verifyPayPassword")
|
||||
public Result<Object> verifyPayPassword(@RequestBody Map<String, Object> param) {
|
||||
String payPassword = param.get("payPassword").toString();
|
||||
|
||||
@@ -3,6 +3,7 @@ package cn.pluss.platform.controller.store;
|
||||
import cn.pluss.platform.api.Result;
|
||||
import cn.pluss.platform.api.ResultGenerator;
|
||||
import cn.pluss.platform.device.MercOrderDetailService;
|
||||
import cn.pluss.platform.device.MercOrderExpressService;
|
||||
import cn.pluss.platform.dto.MercOrderDetailDTO;
|
||||
import cn.pluss.platform.entity.MercOrderDetail;
|
||||
import cn.pluss.platform.vo.MercOrderExpressVO;
|
||||
@@ -26,6 +27,8 @@ public class MercOrderDetailController {
|
||||
|
||||
@Resource
|
||||
private MercOrderDetailService modService;
|
||||
@Resource
|
||||
private MercOrderExpressService mercOrderExpressService;
|
||||
|
||||
/**
|
||||
* 订单分页查询接口
|
||||
@@ -114,6 +117,18 @@ public class MercOrderDetailController {
|
||||
String msg = express == null ? "暂无物流信息" : "获取成功";
|
||||
return ResultGenerator.genSuccessResult(msg,express);
|
||||
}
|
||||
/**
|
||||
* 查看物流信息(快递鸟)
|
||||
*/
|
||||
@GetMapping("/logistic")
|
||||
public Result<Object> logistic(@RequestParam String expressNo)throws Exception{
|
||||
JSONObject expressInfo = mercOrderExpressService.getExpressInfo(expressNo);
|
||||
if (expressInfo.isEmpty()){
|
||||
return ResultGenerator.genFailResult("无法查询快递信息");
|
||||
}else {
|
||||
return ResultGenerator.genSuccessResult(expressInfo);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 申请退款
|
||||
|
||||
@@ -66,6 +66,7 @@ public class TokenRegistryInterceptor extends HandlerInterceptorAdapter {
|
||||
limitUri.add("/api/deviceGoods/deviceDetail/");
|
||||
limitUri.add("/api/questionsAnswers");
|
||||
limitUri.add("/api/helpVideo");
|
||||
limitUri.add("/api/systemConfig/updateSystemVersion");
|
||||
boolean passFlag = limitUri.stream().anyMatch(s -> s.equals(requestUri) || requestUri.startsWith(s));
|
||||
if (passFlag) {
|
||||
return true;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: CZGmysqlroot@123
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
# datasource:
|
||||
# url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||
# username: root
|
||||
# password: prodCZGmysqlroot@123
|
||||
# driver-class-name: com.mysql.jdbc.Driver
|
||||
# url: jdbc:mysql://60.205.224.68:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||
# username: root
|
||||
# password: CZGmysqlroot@123
|
||||
# driver-class-name: com.mysql.jdbc.Driver
|
||||
datasource:
|
||||
url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: prodCZGmysqlroot@123
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
parameter:
|
||||
### 这个根据自己的情况配置
|
||||
domain: https://ky.sxczgkj.cn
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
spring:
|
||||
# datasource:
|
||||
# url: jdbc:mysql://rm-bp19ib8x213kh9t45.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||
# username: root
|
||||
# password: prodCZGmysqlroot@123
|
||||
# driver-class-name: com.mysql.jdbc.Driver
|
||||
datasource:
|
||||
url: jdbc:mysql://rm-bp19ib8x213kh9t45.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://rm-bp19ib8x213kh9t450o.rwlb.rds.aliyuncs.com:3306/chaozhanggui?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: prodCZGmysqlroot@123
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
|
||||
parameter:
|
||||
### 这个根据自己的情况配置
|
||||
domain: https://ky.sxczgkj.cn
|
||||
|
||||
Reference in New Issue
Block a user