袁野 3 months ago
parent 03d374aa8e
commit 6a97be196f
  1. 1
      bweb/src/main/java/com/bweb/controller/SecUserController.java
  2. 62
      bweb/src/main/java/com/bweb/controller/TestController.java
  3. 6
      cweb/src/main/java/com/cweb/controller/goods/GoodsController.java
  4. 6
      cweb/src/main/java/com/cweb/controller/qianZhu/StarbucksController.java
  5. 5
      order/src/main/java/com/order/controller/OrderController.java
  6. 16
      order/src/main/java/com/order/controller/OrderPayController.java
  7. 4
      order/src/main/java/com/order/controller/business/BsOrderCinemaController.java
  8. 7
      order/src/main/java/com/order/controller/business/BsOrderGoodsController.java
  9. 22
      order/src/main/java/com/order/controller/business/BsOrderStarbucksController.java
  10. 5
      order/src/main/java/com/order/controller/business/OrderCouponController.java
  11. 3
      schedule/src/main/java/com/hfkj/schedule/OrderGoodsSchedule.java
  12. 36
      service/src/main/java/com/hfkj/common/utils/CommonUtil.java
  13. 65
      service/src/main/java/com/hfkj/common/utils/HttpsUtils.java
  14. 2
      service/src/main/java/com/hfkj/dao/BsOrderCouponMapperExt.java
  15. 4
      service/src/main/java/com/hfkj/model/order/OrderCouponModel.java
  16. 4
      service/src/main/java/com/hfkj/service/coupon/impl/BsOrderCouponServiceImpl.java
  17. 4
      service/src/main/java/com/hfkj/service/goods/impl/BsOrderCinemaServiceImpl.java
  18. 3
      service/src/main/java/com/hfkj/service/goods/impl/BsOrderGoodsServiceImpl.java
  19. 4
      service/src/main/java/com/hfkj/service/goods/impl/BsOrderStarbucksServiceImpl.java
  20. 4
      service/src/main/java/com/hfkj/service/order/OrderCreateService.java
  21. 18
      service/src/main/java/com/hfkj/service/pay/huift/TradeService.java
  22. 4
      service/src/main/java/com/hfkj/service/pay/huift/config/HuiftConfig.java

@ -73,6 +73,7 @@ public class SecUserController {
secUser.setUserName(body.getString("userName")); secUser.setUserName(body.getString("userName"));
secUser.setLoginName(body.getString("loginName")); secUser.setLoginName(body.getString("loginName"));
secUser.setPlatformCode(body.getString("platformCode"));
secUser.setTelephone(body.getString("telephone")); secUser.setTelephone(body.getString("telephone"));
secUser.setRoleId(body.getLong("roleId")); secUser.setRoleId(body.getLong("roleId"));
secUserService.editUser(secUser); secUserService.editUser(secUser);

@ -9,6 +9,7 @@ import com.hfkj.common.utils.*;
import com.hfkj.entity.*; import com.hfkj.entity.*;
import com.hfkj.meituan.MeiTuanService; import com.hfkj.meituan.MeiTuanService;
import com.hfkj.model.ResponseData; import com.hfkj.model.ResponseData;
import com.hfkj.model.goods.GoodsModel;
import com.hfkj.service.discount.CouponDiscountService; import com.hfkj.service.discount.CouponDiscountService;
import com.hfkj.service.goods.BsOrderGoodsService; import com.hfkj.service.goods.BsOrderGoodsService;
import com.hfkj.service.goods.GoodsMsgService; import com.hfkj.service.goods.GoodsMsgService;
@ -23,6 +24,7 @@ import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
@ -119,17 +121,25 @@ public class TestController {
@RequestMapping(value="/orderGoodsUpdate",method = RequestMethod.GET) @RequestMapping(value="/orderGoodsUpdate",method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value = "商品更新") @ApiOperation(value = "商品更新")
public ResponseData orderGoodsUpdate() { public ResponseData orderMsgUpdate() {
try { try {
List<BsOrderGoods> orderGoodsList = orderGoodsService.getList(); Map<String, Object> map = new HashMap<>();
for (BsOrderGoods goods : orderGoodsList) { map.put("status", 1);
BsOrderChild child = orderChildService.getDetail(goods.getChildOrderNo());
goods.setStatus(child.getStatus()); List<GoodsMsg> list = goodsMsgService.getList(map);
goods.setUpdateTime(new Date());
orderGoodsService.update(goods); List<GoodsSpecs> specsList = goodsSpecsService.getList(new HashMap<>());
for (GoodsMsg goodsMsg : list) {
List<GoodsSpecs> goodsSpecsList = specsList.stream().filter(s -> s.getGoodsId().equals(goodsMsg.getId())).collect(Collectors.toList());
if (!goodsSpecsList.isEmpty()) {
goodsMsg.setSaleNum(CommonUtil.saleNumRandom(goodsSpecsList.get(0).getSalePrice()));
}
goodsMsgService.update(goodsMsg);
} }
return ResponseMsgUtil.success("成功"); return ResponseMsgUtil.success("成功");
@ -176,38 +186,44 @@ public class TestController {
@RequestMapping(value="/getLogisticsMsg",method = RequestMethod.GET) @RequestMapping(value="/getLogisticsMsg",method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value = "查询物流") @ApiOperation(value = "查询物流")
public ResponseData getLogisticsMsg(@RequestParam(value = "id" , required = false) Long id) { public ResponseData getLogisticsMsg() {
try { try {
Map<String, Object> map = new HashMap<>(); Map<String , Object> objectMap = new HashMap<>();
BsOrderGoods orderGoods = bsOrderGoodsService.queryDetail(id); objectMap.put("status" , 2);
if (orderGoods == null) { List<BsOrderGoods> orderGoodsList = orderGoodsService.getList(objectMap);
for (BsOrderGoods goods : orderGoodsList) {
if (goods == null) {
throw ErrorHelp.genException(SysCode.System , ErrorCode.COMMON_ERROR , "暂无物流信息!"); throw ErrorHelp.genException(SysCode.System , ErrorCode.COMMON_ERROR , "暂无物流信息!");
} }
GoodsUserAddress userAddress = addressService.queryDetail(orderGoods.getDeliveryAddressId()); GoodsUserAddress userAddress = addressService.queryDetail(goods.getDeliveryAddressId());
if (userAddress == null) { if (userAddress == null) {
throw ErrorHelp.genException(SysCode.System , ErrorCode.COMMON_ERROR , "暂无物流信息!"); throw ErrorHelp.genException(SysCode.System , ErrorCode.COMMON_ERROR , "暂无物流信息!");
} }
GoodsLogistics logistics = (GoodsLogistics) bsOrderGoodsService.getLogisticsMsg(orderGoods.getLogisticsNo() , userAddress.getPhone()); if (goods.getLogisticsNo() != null) {
GoodsLogistics logistics = (GoodsLogistics) bsOrderGoodsService.getLogisticsMsg(goods.getLogisticsNo() , userAddress.getPhone());
if (logistics.getLogisticsStatus() != null) { if (logistics.getLogisticsStatus() != null) {
orderGoods.setLogisticsStatus(logistics.getLogisticsStatus()); goods.setLogisticsStatus(logistics.getLogisticsStatus());
orderGoods.setLogisticsStatusDesc(logistics.getLogisticsStatusDesc()); goods.setLogisticsStatusDesc(logistics.getLogisticsStatusDesc());
} else { } else {
orderGoods.setLogisticsStatus(OrderLogisticsStatusEnum.statusWAIT_ACCEPT.getCode()); goods.setLogisticsStatus(OrderLogisticsStatusEnum.statusWAIT_ACCEPT.getCode());
orderGoods.setLogisticsStatusDesc(OrderLogisticsStatusEnum.statusWAIT_ACCEPT.getName()); goods.setLogisticsStatusDesc(OrderLogisticsStatusEnum.statusWAIT_ACCEPT.getName());
} }
bsOrderGoodsService.update(orderGoods); goods.setUpdateTime(new Date());
map.put("logistics", logistics);
JSONArray object = JSONArray.parseArray(logistics.getLogisticsTraceDetails()); bsOrderGoodsService.update(goods);
map.put("logisticsTraceDetails", object); }
}
return ResponseMsgUtil.success(map); return ResponseMsgUtil.success("map");
} catch (Exception e) { } catch (Exception e) {
log.error("error!",e); log.error("error!",e);

@ -130,6 +130,7 @@ public class GoodsController {
map.put("status", 1); map.put("status", 1);
List<GoodsMsg> list = goodsMsgService.getList(map); List<GoodsMsg> list = goodsMsgService.getList(map);
List<GoodsSpecs> specsList = goodsSpecsService.getList(new HashMap<>());
List<GoodsModel> goodsModels = new ArrayList<>(); List<GoodsModel> goodsModels = new ArrayList<>();
@ -137,10 +138,8 @@ public class GoodsController {
GoodsModel goodsModel = new GoodsModel(); GoodsModel goodsModel = new GoodsModel();
Map<String , Object> mapSpecs = new HashMap<>(); List<GoodsSpecs> goodsSpecs = specsList.stream().filter(s -> s.getGoodsId().equals(goodsMsg.getId())).collect(Collectors.toList());
mapSpecs.put("goodsId" , goodsMsg.getId());
List<GoodsSpecs> goodsSpecs = goodsSpecsService.getList(mapSpecs);
if (!goodsSpecs.isEmpty()) { if (!goodsSpecs.isEmpty()) {
BigDecimal minPrice = goodsSpecs.get(0).getSalePrice(); BigDecimal minPrice = goodsSpecs.get(0).getSalePrice();
BigDecimal minOriginalPrice = goodsSpecs.get(0).getOriginalPrice(); BigDecimal minOriginalPrice = goodsSpecs.get(0).getOriginalPrice();
@ -169,7 +168,6 @@ public class GoodsController {
} }
} }
return ResponseMsgUtil.success(PageUtil.initPageInfoObj(pageNum, goodsModels.size(), pageSize, new PageInfo<>(goodsModels))); return ResponseMsgUtil.success(PageUtil.initPageInfoObj(pageNum, goodsModels.size(), pageSize, new PageInfo<>(goodsModels)));
} catch (Exception e) { } catch (Exception e) {

@ -94,6 +94,10 @@ public class StarbucksController {
BigDecimal tallPrice = StarbucksUtil.calculatePrice(productConfig.getDiscount() , item.getBigDecimal("salesTallPrice")); BigDecimal tallPrice = StarbucksUtil.calculatePrice(productConfig.getDiscount() , item.getBigDecimal("salesTallPrice"));
List<BigDecimal> priceList = new ArrayList<>(); List<BigDecimal> priceList = new ArrayList<>();
List<BigDecimal> priceListOriginal = new ArrayList<>();
priceListOriginal.add(item.getBigDecimal("marketTallPrice"));
priceListOriginal.add(item.getBigDecimal("marketGrandePrice"));
priceListOriginal.add(item.getBigDecimal("marketVentiPrice"));
// 判断如果卖家 大于 原价 展示原价 // 判断如果卖家 大于 原价 展示原价
if (tallPrice.compareTo(item.getBigDecimal("marketTallPrice")) > 0) { if (tallPrice.compareTo(item.getBigDecimal("marketTallPrice")) > 0) {
item.put("tallPrice" , item.getBigDecimal("marketTallPrice")); item.put("tallPrice" , item.getBigDecimal("marketTallPrice"));
@ -124,7 +128,9 @@ public class StarbucksController {
} }
Collections.sort(priceList); Collections.sort(priceList);
Collections.sort(priceListOriginal);
item.put("tallPrice" ,priceList.get(0)); item.put("tallPrice" ,priceList.get(0));
item.put("tallOriginalPrice" ,priceListOriginal.get(0));
List<JSONObject> dataList = new ArrayList<>(); List<JSONObject> dataList = new ArrayList<>();

@ -55,6 +55,7 @@ public class OrderController {
@ApiOperation(value = "创建订单") @ApiOperation(value = "创建订单")
public ResponseData create(@RequestBody OrderModel body) { public ResponseData create(@RequestBody OrderModel body) {
try { try {
System.out.println("body" + body.toString()); System.out.println("body" + body.toString());
// 用户session // 用户session
UserSessionObject userSession = userCenter.getSessionModel(UserSessionObject.class); UserSessionObject userSession = userCenter.getSessionModel(UserSessionObject.class);
@ -98,11 +99,11 @@ public class OrderController {
@ApiOperation(value = "取消订单") @ApiOperation(value = "取消订单")
public ResponseData cancel(@RequestBody JSONObject body) { public ResponseData cancel(@RequestBody JSONObject body) {
try { try {
if (body == null|| StringUtils.isBlank(body.getString("orderNo"))) { if (body == null|| StringUtils.isBlank(body.getString("orderNo"))) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, "");
} }
return ResponseMsgUtil.success(orderService.cancel(body.getString("orderNo"), false)); return ResponseMsgUtil.success(orderService.cancel(body.getString("orderNo"), false));
} catch (Exception e) { } catch (Exception e) {
@ -133,6 +134,7 @@ public class OrderController {
@RequestParam(value = "pageNum" , required = true) Integer pageNum, @RequestParam(value = "pageNum" , required = true) Integer pageNum,
@RequestParam(value = "pageSize" , required = true) Integer pageSize) { @RequestParam(value = "pageSize" , required = true) Integer pageSize) {
try { try {
// 用户session // 用户session
UserSessionObject userSession = userCenter.getSessionModel(UserSessionObject.class); UserSessionObject userSession = userCenter.getSessionModel(UserSessionObject.class);
if (userSession == null) { if (userSession == null) {
@ -177,6 +179,7 @@ public class OrderController {
@RequestParam(value = "pageNum" , required = true) Integer pageNum, @RequestParam(value = "pageNum" , required = true) Integer pageNum,
@RequestParam(value = "pageSize" , required = true) Integer pageSize) { @RequestParam(value = "pageSize" , required = true) Integer pageSize) {
try { try {
Map<String,Object> param = new HashMap<>(); Map<String,Object> param = new HashMap<>();
param.put("orderNo", orderNo); param.put("orderNo", orderNo);
param.put("userPhone", userPhone); param.put("userPhone", userPhone);

@ -44,6 +44,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.Date; import java.util.Date;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors;
/** /**
* @className: OrderController * @className: OrderController
@ -190,8 +191,21 @@ public class OrderPayController {
if (merPay == null) { if (merPay == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "商户未配置支付"); throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "商户未配置支付");
}*/ }*/
if (order.getOrderChildList().stream().collect(Collectors.groupingBy(OrderChildModel::getProductType, Collectors.toList())).size() > 1) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "暂不支持合并下单");
}
String shopCode = HuiftConfig.shopcode98;
String signSecret = HuiftConfig.signSecret98;
if (order.getOrderChildList().get(0).getProductType() == 1) {
shopCode = HuiftConfig.shopcode95;
signSecret = HuiftConfig.signSecret95;
}
// 请求支付渠道 // 请求支付渠道
JSONObject thirdPreOrder = huiftTradeService.thirdPreOrder(order); JSONObject thirdPreOrder = huiftTradeService.thirdPreOrder(order , shopCode , signSecret);
for (OrderChildModel orderChild : order.getOrderChildList()) { for (OrderChildModel orderChild : order.getOrderChildList()) {
orderChild.setSettleAccount(HuiftConfig.shopcode); orderChild.setSettleAccount(HuiftConfig.shopcode);
orderChild.setSettleAccountKey(HuiftConfig.signSecret); orderChild.setSettleAccountKey(HuiftConfig.signSecret);

@ -63,8 +63,8 @@ public class BsOrderCinemaController {
Map<String , Object> map = new HashMap<>(); Map<String , Object> map = new HashMap<>();
if (userModel.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type2.getCode())) { if (userModel.getAccount().getPlatformCode() != null) {
map.put("merId", userModel.getAccount().getObjectId()); map.put("platformCode", userModel.getAccount().getPlatformCode());
} }
map.put("orderNo", orderNo); map.put("orderNo", orderNo);

@ -100,6 +100,9 @@ public class BsOrderGoodsController {
if (userModel.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type2.getCode())) { if (userModel.getAccount().getObjectType().equals(SecUserObjectTypeEnum.type2.getCode())) {
map.put("merId", userModel.getAccount().getObjectId()); map.put("merId", userModel.getAccount().getObjectId());
} }
if (userModel.getAccount().getPlatformCode() != null) {
map.put("platformCode", userModel.getAccount().getPlatformCode());
}
map.put("logisticsNo", logisticsNo); map.put("logisticsNo", logisticsNo);
map.put("goodsType", goodsType); map.put("goodsType", goodsType);
@ -163,6 +166,10 @@ public class BsOrderGoodsController {
map.put("merId", userModel.getAccount().getObjectId()); map.put("merId", userModel.getAccount().getObjectId());
} }
if (userModel.getAccount().getPlatformCode() != null) {
map.put("platformCode", userModel.getAccount().getPlatformCode());
}
map.put("logisticsNo", logisticsNo); map.put("logisticsNo", logisticsNo);
map.put("goodsType", goodsType); map.put("goodsType", goodsType);
map.put("goodsBrand", goodsBrand); map.put("goodsBrand", goodsBrand);

@ -2,14 +2,18 @@ package com.order.controller.business;
import com.github.pagehelper.PageInfo; import com.github.pagehelper.PageInfo;
import com.hfkj.common.security.SessionObject;
import com.hfkj.common.security.UserCenter;
import com.hfkj.common.utils.PageUtil; import com.hfkj.common.utils.PageUtil;
import com.hfkj.common.utils.ResponseMsgUtil; import com.hfkj.common.utils.ResponseMsgUtil;
import com.hfkj.entity.BsOrderChild; import com.hfkj.entity.BsOrderChild;
import com.hfkj.entity.BsOrderStarbucks; import com.hfkj.entity.BsOrderStarbucks;
import com.hfkj.model.ResponseData; import com.hfkj.model.ResponseData;
import com.hfkj.model.SecUserSessionObject;
import com.hfkj.model.order.OrderStarbucksModel; import com.hfkj.model.order.OrderStarbucksModel;
import com.hfkj.service.goods.BsOrderStarbucksService; import com.hfkj.service.goods.BsOrderStarbucksService;
import com.hfkj.service.order.BsOrderChildService; import com.hfkj.service.order.BsOrderChildService;
import com.hfkj.sysenum.SecUserObjectTypeEnum;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger; import org.slf4j.Logger;
@ -42,6 +46,9 @@ public class BsOrderStarbucksController {
@Resource @Resource
private BsOrderStarbucksService bsOrderStarbucksService; private BsOrderStarbucksService bsOrderStarbucksService;
@Resource
private UserCenter userCenter;
@RequestMapping(value="/getListStarbucks",method = RequestMethod.GET) @RequestMapping(value="/getListStarbucks",method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value = "查询列表") @ApiOperation(value = "查询列表")
@ -61,7 +68,13 @@ public class BsOrderStarbucksController {
@RequestParam(value = "pageSize" , required = true) Integer pageSize, HttpServletRequest request) { @RequestParam(value = "pageSize" , required = true) Integer pageSize, HttpServletRequest request) {
try { try {
SessionObject sessionObject = userCenter.getSessionObject(request);
SecUserSessionObject userModel = (SecUserSessionObject) sessionObject.getObject();
Map<String , Object> map = new HashMap<>(); Map<String , Object> map = new HashMap<>();
map.put("orderNo", orderNo); map.put("orderNo", orderNo);
map.put("childOrderNo", childOrderNo); map.put("childOrderNo", childOrderNo);
map.put("productType", 4); map.put("productType", 4);
@ -72,7 +85,13 @@ public class BsOrderStarbucksController {
map.put("status", status); map.put("status", status);
List<BsOrderChild> list = bsOrderChildService.getList(map); List<BsOrderChild> list = bsOrderChildService.getList(map);
List<BsOrderStarbucks> starbucksList = bsOrderStarbucksService.getList(new HashMap<>());
Map<String , Object> map1 = new HashMap<>();
if (userModel.getAccount().getPlatformCode() != null) {
map1.put("platformCode", userModel.getAccount().getPlatformCode());
}
List<BsOrderStarbucks> starbucksList = bsOrderStarbucksService.getList(map1);
List<OrderStarbucksModel> starbucksModelList = new ArrayList<>(); List<OrderStarbucksModel> starbucksModelList = new ArrayList<>();
@ -89,7 +108,6 @@ public class BsOrderStarbucksController {
starbucksModel.setPayType(starbucks.get(0).getPayType()); starbucksModel.setPayType(starbucks.get(0).getPayType());
starbucksModelList.add(starbucksModel); starbucksModelList.add(starbucksModel);
} }
} }
if (storeAddress != null) { if (storeAddress != null) {

@ -122,6 +122,11 @@ public class OrderCouponController {
} else if (SecUserObjectTypeEnum.type2.getCode() == userSessionObject.getAccount().getObjectType()) { } else if (SecUserObjectTypeEnum.type2.getCode() == userSessionObject.getAccount().getObjectType()) {
param.put("merId", userSessionObject.getAccount().getObjectId()); param.put("merId", userSessionObject.getAccount().getObjectId());
} }
if (userSessionObject.getAccount().getPlatformCode() != null) {
param.put("platformCode", userSessionObject.getAccount().getPlatformCode());
}
param.put("orderNo", orderNo); param.put("orderNo", orderNo);
param.put("userPhone", userPhone); param.put("userPhone", userPhone);
param.put("tradeStatus", tradeStatus); param.put("tradeStatus", tradeStatus);

@ -81,8 +81,8 @@ public class OrderGoodsSchedule {
throw ErrorHelp.genException(SysCode.System , ErrorCode.COMMON_ERROR , "暂无物流信息!"); throw ErrorHelp.genException(SysCode.System , ErrorCode.COMMON_ERROR , "暂无物流信息!");
} }
if (goods.getLogisticsNo() != null) {
GoodsLogistics logistics = (GoodsLogistics) bsOrderGoodsService.getLogisticsMsg(goods.getLogisticsNo() , userAddress.getPhone()); GoodsLogistics logistics = (GoodsLogistics) bsOrderGoodsService.getLogisticsMsg(goods.getLogisticsNo() , userAddress.getPhone());
if (logistics.getLogisticsStatus() != null) { if (logistics.getLogisticsStatus() != null) {
goods.setLogisticsStatus(logistics.getLogisticsStatus()); goods.setLogisticsStatus(logistics.getLogisticsStatus());
goods.setLogisticsStatusDesc(logistics.getLogisticsStatusDesc()); goods.setLogisticsStatusDesc(logistics.getLogisticsStatusDesc());
@ -94,6 +94,7 @@ public class OrderGoodsSchedule {
goods.setUpdateTime(new Date()); goods.setUpdateTime(new Date());
bsOrderGoodsService.update(goods); bsOrderGoodsService.update(goods);
}
} }
} }

@ -2,6 +2,7 @@ package com.hfkj.common.utils;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.RoundingMode; import java.math.RoundingMode;
import java.util.Random;
public class CommonUtil { public class CommonUtil {
@ -16,4 +17,39 @@ public class CommonUtil {
return length + "米"; return length + "米";
} }
public static Integer saleNumRandom(BigDecimal price){
if (price.compareTo(new BigDecimal(41)) < 0) {
return randomNumberGenerator(3000 , 15000);
}
if (price.compareTo(new BigDecimal(40)) > 0 && price.compareTo(new BigDecimal(200)) < 0) {
return randomNumberGenerator( 500, 3000);
}
if (price.compareTo(new BigDecimal(201)) > 0 && price.compareTo(new BigDecimal(400)) < 0) {
return randomNumberGenerator( 200, 500);
}
if (price.compareTo(new BigDecimal(401)) > 0) {
return randomNumberGenerator( 10, 200);
}
return 0;
}
/**
* @MethodName RandomNumberGenerator
* @Description: 获取区间随机数
* @param min
* @param max
* @return: java.lang.Integer
* @Author: Sum1Dream
* @Date: 2024/9/2 下午4:02
*/
public static Integer randomNumberGenerator(Integer min , Integer max){
Random random = new Random();
return random.nextInt(max - min + 1) + min;
}
} }

@ -54,7 +54,7 @@ public class HttpsUtils {
// 设置连接池 // 设置连接池
connMgr = new PoolingHttpClientConnectionManager(); connMgr = new PoolingHttpClientConnectionManager();
// 设置连接池大小 // 设置连接池大小
connMgr.setMaxTotal(100); connMgr.setMaxTotal(5000);
connMgr.setDefaultMaxPerRoute(connMgr.getMaxTotal()); connMgr.setDefaultMaxPerRoute(connMgr.getMaxTotal());
// Validate connections after 1 sec of inactivity // Validate connections after 1 sec of inactivity
connMgr.setValidateAfterInactivity(1000); connMgr.setValidateAfterInactivity(1000);
@ -100,7 +100,8 @@ public class HttpsUtils {
} }
apiUrl += param; apiUrl += param;
String result = null; String result = null;
HttpClient httpClient = null; CloseableHttpClient httpClient;
CloseableHttpResponse response = null;
try { try {
if (apiUrl.startsWith("https")) { if (apiUrl.startsWith("https")) {
@ -111,7 +112,7 @@ public class HttpsUtils {
} }
HttpGet httpGet = new HttpGet(apiUrl); HttpGet httpGet = new HttpGet(apiUrl);
HttpResponse response = httpClient.execute(httpGet); response = httpClient.execute(httpGet);
HttpEntity entity = response.getEntity(); HttpEntity entity = response.getEntity();
if (entity != null) { if (entity != null) {
InputStream instream = entity.getContent(); InputStream instream = entity.getContent();
@ -120,48 +121,19 @@ public class HttpsUtils {
return JSON.parseObject(result); return JSON.parseObject(result);
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage(),e); log.error(e.getMessage(),e);
} } finally {
return null; if (response != null) {
}
public static JSONObject doGet(String url, Map<String, String> params , String o) {
String apiUrl = url;
StringBuffer param = new StringBuffer();
int i = 0;
for (String key : params.keySet()) {
if (i == 0)
param.append("?");
else
param.append("&");
param.append(key).append("=").append(params.get(key));
i++;
}
apiUrl += param;
String result = null;
HttpClient httpClient = null;
try { try {
EntityUtils.consume(response.getEntity());
if (apiUrl.startsWith("https")) { } catch (IOException e) {
httpClient = HttpClients.custom().setSSLSocketFactory(createSSLConnSocketFactory()) log.error(e.getMessage(),e);
.setConnectionManager(connMgr).setDefaultRequestConfig(requestConfig).build();
} else {
httpClient = HttpClients.createDefault();
} }
HttpGet httpGet = new HttpGet(apiUrl);
HttpResponse response = httpClient.execute(httpGet);
HttpEntity entity = response.getEntity();
if (entity != null) {
InputStream instream = entity.getContent();
result = IOUtils.toString(instream, "UTF-8");
} }
return JSON.parseObject(result);
} catch (Exception e) {
log.error(e.getMessage(),e);
} }
return null; return null;
} }
public static JSONObject doGet(String url, Map<String, String> params , Map<String , String> headers) { public static JSONObject doGet(String url, Map<String, String> params , Map<String , String> headers) {
String apiUrl = url; String apiUrl = url;
StringBuffer param = new StringBuffer(); StringBuffer param = new StringBuffer();
@ -176,7 +148,8 @@ public class HttpsUtils {
} }
apiUrl += param; apiUrl += param;
String result = null; String result = null;
HttpClient httpClient = null; CloseableHttpClient httpClient = null;
CloseableHttpResponse response = null;
try { try {
if (apiUrl.startsWith("https")) { if (apiUrl.startsWith("https")) {
@ -190,7 +163,7 @@ public class HttpsUtils {
for (Map.Entry<String, String> e : headers.entrySet()) { for (Map.Entry<String, String> e : headers.entrySet()) {
httpGet.addHeader(e.getKey(), e.getValue()); httpGet.addHeader(e.getKey(), e.getValue());
} }
HttpResponse response = httpClient.execute(httpGet); response = httpClient.execute(httpGet);
HttpEntity entity = response.getEntity(); HttpEntity entity = response.getEntity();
if (entity != null) { if (entity != null) {
InputStream instream = entity.getContent(); InputStream instream = entity.getContent();
@ -199,6 +172,14 @@ public class HttpsUtils {
return JSON.parseObject(result); return JSON.parseObject(result);
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage(),e); log.error(e.getMessage(),e);
} finally {
if (response != null) {
try {
EntityUtils.consume(response.getEntity());
} catch (IOException e) {
log.error(e.getMessage(),e);
}
}
} }
return null; return null;
} }
@ -223,7 +204,7 @@ public class HttpsUtils {
* @return * @return
*/ */
public static JSONObject doPost(String apiUrl, Map<String, Object> params) { public static JSONObject doPost(String apiUrl, Map<String, Object> params) {
CloseableHttpClient httpClient = null; CloseableHttpClient httpClient;
if (apiUrl.startsWith("https")) { if (apiUrl.startsWith("https")) {
httpClient = HttpClients.custom().setSSLSocketFactory(createSSLConnSocketFactory()) httpClient = HttpClients.custom().setSSLSocketFactory(createSSLConnSocketFactory())
.setConnectionManager(connMgr).setDefaultRequestConfig(requestConfig).build(); .setConnectionManager(connMgr).setDefaultRequestConfig(requestConfig).build();
@ -349,7 +330,7 @@ public class HttpsUtils {
* @return * @return
*/ */
public static JSONObject doPost(String apiUrl, String str) { public static JSONObject doPost(String apiUrl, String str) {
CloseableHttpClient httpClient = null; CloseableHttpClient httpClient;
if (apiUrl.startsWith("https")) { if (apiUrl.startsWith("https")) {
httpClient = HttpClients.custom().setSSLSocketFactory(createSSLConnSocketFactory()) httpClient = HttpClients.custom().setSSLSocketFactory(createSSLConnSocketFactory())
.setConnectionManager(connMgr).setDefaultRequestConfig(requestConfig).build(); .setConnectionManager(connMgr).setDefaultRequestConfig(requestConfig).build();

@ -31,6 +31,7 @@ public interface BsOrderCouponMapperExt {
" b.pay_channel payChannel," + " b.pay_channel payChannel," +
" b.pay_type payType," + " b.pay_type payType," +
" b.pay_serial_no paySerialNo," + " b.pay_serial_no paySerialNo," +
" b.platform_code platformCode," +
" b.`status` tradeStatus," + " b.`status` tradeStatus," +
" b.create_time createTime," + " b.create_time createTime," +
" b.pay_time payTime," + " b.pay_time payTime," +
@ -47,6 +48,7 @@ public interface BsOrderCouponMapperExt {
" <if test='param.merId != null'> and b.mer_id = #{param.merId} </if>" + " <if test='param.merId != null'> and b.mer_id = #{param.merId} </if>" +
" <if test='param.orderNo != null'> and b.order_no like concat('%',#{param.orderNo},'%') </if>" + " <if test='param.orderNo != null'> and b.order_no like concat('%',#{param.orderNo},'%') </if>" +
" <if test='param.orderChildNo != null'> and b.child_order_no = #{param.orderChildNo} </if>" + " <if test='param.orderChildNo != null'> and b.child_order_no = #{param.orderChildNo} </if>" +
" <if test='param.platformCode != null'> and b.platform_code = #{param.platformCode} </if>" +
" <if test='param.userPhone != null'> and b.user_phone like concat('%',#{param.userPhone},'%') </if>" + " <if test='param.userPhone != null'> and b.user_phone like concat('%',#{param.userPhone},'%') </if>" +
" <if test='param.payType != null'> and b.pay_type = #{param.payType}</if>" + " <if test='param.payType != null'> and b.pay_type = #{param.payType}</if>" +
" <if test='param.tradeStatus != null'> and b.status = #{param.tradeStatus}</if>" + " <if test='param.tradeStatus != null'> and b.status = #{param.tradeStatus}</if>" +

@ -120,4 +120,8 @@ public class OrderCouponModel {
@ExcelProperty("是否异常") @ExcelProperty("是否异常")
public String exceptionStatus; public String exceptionStatus;
@ColumnWidth(20)
@ExcelProperty("平台")
public String platformCode;
} }

@ -7,6 +7,7 @@ import com.hfkj.entity.BsOrderCouponExample;
import com.hfkj.model.order.OrderCouponModel; import com.hfkj.model.order.OrderCouponModel;
import com.hfkj.service.coupon.BsOrderCouponService; import com.hfkj.service.coupon.BsOrderCouponService;
import org.apache.commons.collections4.MapUtils; import org.apache.commons.collections4.MapUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
@ -60,6 +61,9 @@ public class BsOrderCouponServiceImpl implements BsOrderCouponService {
if (MapUtils.getLong(param, "createTimeE") != null) { if (MapUtils.getLong(param, "createTimeE") != null) {
param.put("createTimeE", DateUtil.date2String(new Date(MapUtils.getLong(param, "createTimeE")), DateUtil.Y_M_D_HMS)); param.put("createTimeE", DateUtil.date2String(new Date(MapUtils.getLong(param, "createTimeE")), DateUtil.Y_M_D_HMS));
} }
if (StringUtils.isNotBlank(MapUtils.getString(param, "platformCode"))) {
param.put("platformCode", MapUtils.getString(param, "platformCode"));
}
return orderCouponMapper.getOrderList(param); return orderCouponMapper.getOrderList(param);
} }

@ -80,7 +80,9 @@ public class BsOrderCinemaServiceImpl implements BsOrderCinemaService {
if (StringUtils.isNotBlank(MapUtils.getString(map, "userPhone"))) { if (StringUtils.isNotBlank(MapUtils.getString(map, "userPhone"))) {
criteria.andUserPhoneEqualTo(MapUtils.getString(map, "userPhone")); criteria.andUserPhoneEqualTo(MapUtils.getString(map, "userPhone"));
} }
if (StringUtils.isNotBlank(MapUtils.getString(map, "platformCode"))) {
criteria.andPlatformCodeEqualTo(MapUtils.getString(map, "platformCode"));
}
if (StringUtils.isNotBlank(MapUtils.getString(map, "goodsSpecsName"))) { if (StringUtils.isNotBlank(MapUtils.getString(map, "goodsSpecsName"))) {
criteria.andGoodsSpecsNameEqualTo(MapUtils.getString(map, "goodsSpecsName")); criteria.andGoodsSpecsNameEqualTo(MapUtils.getString(map, "goodsSpecsName"));
} }

@ -154,6 +154,9 @@ public class BsOrderGoodsServiceImpl implements BsOrderGoodsService {
if (StringUtils.isNotBlank(MapUtils.getString(map, "goodsSpecsName"))) { if (StringUtils.isNotBlank(MapUtils.getString(map, "goodsSpecsName"))) {
criteria.andGoodsSpecsNameEqualTo(MapUtils.getString(map, "goodsSpecsName")); criteria.andGoodsSpecsNameEqualTo(MapUtils.getString(map, "goodsSpecsName"));
} }
if (StringUtils.isNotBlank(MapUtils.getString(map, "platformCode"))) {
criteria.andPlatformCodeEqualTo(MapUtils.getString(map, "platformCode"));
}
if (StringUtils.isNotBlank(MapUtils.getString(map, "goodsName"))) { if (StringUtils.isNotBlank(MapUtils.getString(map, "goodsName"))) {
criteria.andGoodsNameLike("%"+MapUtils.getString(map, "goodsName")+"%"); criteria.andGoodsNameLike("%"+MapUtils.getString(map, "goodsName")+"%");

@ -77,6 +77,10 @@ public class BsOrderStarbucksServiceImpl implements BsOrderStarbucksService {
criteria.andUserPhoneEqualTo(MapUtils.getString(map, "userPhone")); criteria.andUserPhoneEqualTo(MapUtils.getString(map, "userPhone"));
} }
if (StringUtils.isNotBlank(MapUtils.getString(map, "platformCode"))) {
criteria.andPlatformCodeEqualTo(MapUtils.getString(map, "platformCode"));
}
if (MapUtils.getLong(map, "createTimeS") != null) { if (MapUtils.getLong(map, "createTimeS") != null) {
criteria.andCreateTimeGreaterThanOrEqualTo(new Date(MapUtils.getLong(map, "createTimeS"))); criteria.andCreateTimeGreaterThanOrEqualTo(new Date(MapUtils.getLong(map, "createTimeS")));
} }

@ -122,6 +122,7 @@ public class OrderCreateService {
orderCoupon.setOrderNo(orderChild.getOrderNo()); orderCoupon.setOrderNo(orderChild.getOrderNo());
orderCoupon.setChildOrderNo(orderChild.getChildOrderNo()); orderCoupon.setChildOrderNo(orderChild.getChildOrderNo());
orderCoupon.setMerId(orderChild.getMerId()); orderCoupon.setMerId(orderChild.getMerId());
orderCoupon.setPlatformCode(businessObj.getString("platformCode"));
orderCoupon.setUserId(order.getUserId()); orderCoupon.setUserId(order.getUserId());
orderCoupon.setUserPhone(order.getUserPhone()); orderCoupon.setUserPhone(order.getUserPhone());
orderCoupon.setGoodsId(goodsMsg.getId()); orderCoupon.setGoodsId(goodsMsg.getId());
@ -226,6 +227,7 @@ public class OrderCreateService {
orderGoods.setOrderNo(orderChild.getOrderNo()); orderGoods.setOrderNo(orderChild.getOrderNo());
orderGoods.setChildOrderNo(orderChild.getChildOrderNo()); orderGoods.setChildOrderNo(orderChild.getChildOrderNo());
orderGoods.setMerId(orderChild.getMerId()); orderGoods.setMerId(orderChild.getMerId());
orderGoods.setPlatformCode(object.getString("platformCode"));
orderGoods.setMerName(goodsMsg.getMerName()); orderGoods.setMerName(goodsMsg.getMerName());
orderGoods.setUserId(order.getUserId()); orderGoods.setUserId(order.getUserId());
orderGoods.setUserPhone(order.getUserPhone()); orderGoods.setUserPhone(order.getUserPhone());
@ -316,6 +318,7 @@ public class OrderCreateService {
bsOrderCinema.setOrderNo(orderChild.getOrderNo()); bsOrderCinema.setOrderNo(orderChild.getOrderNo());
bsOrderCinema.setChildOrderNo(orderChild.getChildOrderNo()); bsOrderCinema.setChildOrderNo(orderChild.getChildOrderNo());
bsOrderCinema.setMerId(productConfig.getMerId()); bsOrderCinema.setMerId(productConfig.getMerId());
bsOrderCinema.setPlatformCode(object.getString("platformCode"));
bsOrderCinema.setUserId(order.getUserId()); bsOrderCinema.setUserId(order.getUserId());
bsOrderCinema.setUserPhone(object.getString("phone")); bsOrderCinema.setUserPhone(object.getString("phone"));
bsOrderCinema.setImg(data.getString("pic")); bsOrderCinema.setImg(data.getString("pic"));
@ -416,6 +419,7 @@ public class OrderCreateService {
bsOrderStarbucks.setOrderNo(orderChild.getOrderNo()); bsOrderStarbucks.setOrderNo(orderChild.getOrderNo());
bsOrderStarbucks.setChildOrderNo(orderChild.getChildOrderNo()); bsOrderStarbucks.setChildOrderNo(orderChild.getChildOrderNo());
bsOrderStarbucks.setMerId(productConfig.getMerId()); bsOrderStarbucks.setMerId(productConfig.getMerId());
bsOrderStarbucks.setPlatformCode(object.getString("platformCode"));
bsOrderStarbucks.setProductId(orderItemObject.getInteger("productId")); bsOrderStarbucks.setProductId(orderItemObject.getInteger("productId"));
bsOrderStarbucks.setUserId(order.getUserId()); bsOrderStarbucks.setUserId(order.getUserId());
bsOrderStarbucks.setUserPhone(object.getString("phone")); bsOrderStarbucks.setUserPhone(object.getString("phone"));

@ -7,6 +7,7 @@ import com.hfkj.common.exception.SysCode;
import com.hfkj.common.utils.HttpsUtils; import com.hfkj.common.utils.HttpsUtils;
import com.hfkj.config.CommonSysConst; import com.hfkj.config.CommonSysConst;
import com.hfkj.entity.BsOrder; import com.hfkj.entity.BsOrder;
import com.hfkj.entity.BsOrderChild;
import com.hfkj.model.order.OrderModel; import com.hfkj.model.order.OrderModel;
import com.hfkj.service.order.BsOrderService; import com.hfkj.service.order.BsOrderService;
import com.hfkj.service.pay.huift.config.HuiftConfig; import com.hfkj.service.pay.huift.config.HuiftConfig;
@ -36,16 +37,16 @@ public class TradeService {
* @return * @return
* @throws Exception * @throws Exception
*/ */
public JSONObject thirdPreOrder(OrderModel order) throws Exception { public JSONObject thirdPreOrder(OrderModel order , String shopCode , String signSecret) throws Exception {
Map<String,Object> param = new HashMap<>(); Map<String,Object> param = new HashMap<>();
param.put("shopCode", HuiftConfig.shopcode); param.put("shopCode", shopCode);
param.put("outTradeNo", order.getOrderNo()); param.put("outTradeNo", order.getOrderNo());
param.put("transAmt", order.getPayRealPrice().multiply(new BigDecimal("100")).intValue()); param.put("transAmt", order.getPayRealPrice().multiply(new BigDecimal("100")).intValue());
param.put("callbackUrl", CommonSysConst.getSysConfig().getDomainName() + "/order/notify/huiftPay"); param.put("callbackUrl", CommonSysConst.getSysConfig().getDomainName() + "/order/notify/huiftPay");
// param.put("remark", ""); // 备注 // param.put("remark", ""); // 备注
// param.put("outAppId", ""); // param.put("outAppId", "");
param.put("outRedirectPath", CommonSysConst.getSysConfig().getDomainName()+"/cweb/#/order/order/orderList"); param.put("outRedirectPath", CommonSysConst.getSysConfig().getDomainName()+"/cweb/#/order/order/orderList");
param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, HuiftConfig.signSecret).getBytes()).toLowerCase()); param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, signSecret).getBytes()).toLowerCase());
JSONObject response = HttpsUtils.doPost(HuiftConfig.reqUrl + "/hfq/v1/thirdPay/thirdPreOrder", JSONObject.toJSONString(param)); JSONObject response = HttpsUtils.doPost(HuiftConfig.reqUrl + "/hfq/v1/thirdPay/thirdPreOrder", JSONObject.toJSONString(param));
if (response.getString("status").equals("ok")) { if (response.getString("status").equals("ok")) {
return response.getJSONObject("data"); return response.getJSONObject("data");
@ -59,11 +60,11 @@ public class TradeService {
* @return * @return
* @throws Exception * @throws Exception
*/ */
public JSONObject thirdPayResult(String preOrderNo) throws Exception { public JSONObject thirdPayResult(String preOrderNo , String shopCode , String signSecret) throws Exception {
Map<String,Object> param = new HashMap<>(); Map<String,Object> param = new HashMap<>();
param.put("shopCode", HuiftConfig.shopcode); param.put("shopCode", shopCode);
param.put("preOrderNo", preOrderNo); param.put("preOrderNo", preOrderNo);
param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, HuiftConfig.signSecret).getBytes()).toLowerCase()); param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, signSecret).getBytes()).toLowerCase());
JSONObject response = HttpsUtils.doPost(HuiftConfig.reqUrl + "/hfq/v1/thirdPay/thirdPayResult", JSONObject.toJSONString(param)); JSONObject response = HttpsUtils.doPost(HuiftConfig.reqUrl + "/hfq/v1/thirdPay/thirdPayResult", JSONObject.toJSONString(param));
if (response.getString("status").equals("ok")) { if (response.getString("status").equals("ok")) {
return response.getJSONObject("data"); return response.getJSONObject("data");
@ -82,6 +83,7 @@ public class TradeService {
public JSONObject thirdPayRefund(String refundOrderNo, BigDecimal refundPrice, String orderNo) throws Exception { public JSONObject thirdPayRefund(String refundOrderNo, BigDecimal refundPrice, String orderNo) throws Exception {
// 查询订单 // 查询订单
BsOrder order = orderService.getOrder(orderNo); BsOrder order = orderService.getOrder(orderNo);
OrderModel orderModel = orderService.getDetail(orderNo);
if (order == null) { if (order == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知的的订单"); throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知的的订单");
} }
@ -93,11 +95,11 @@ public class TradeService {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "支付方式错误"); throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "支付方式错误");
} }
Map<String,Object> param = new HashMap<>(); Map<String,Object> param = new HashMap<>();
param.put("shopCode", HuiftConfig.shopcode); param.put("shopCode", orderModel.getOrderChildList().get(0).getSettleAccount());
param.put("preOrderNo", order.getPayChannelOrderNo()); param.put("preOrderNo", order.getPayChannelOrderNo());
param.put("outRefundNo", refundOrderNo); param.put("outRefundNo", refundOrderNo);
param.put("refundAmt", refundPrice.multiply(new BigDecimal("100")).intValue()); param.put("refundAmt", refundPrice.multiply(new BigDecimal("100")).intValue());
param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, HuiftConfig.signSecret).getBytes()).toLowerCase()); param.put("sign", HuiftConfig.md5Encode(HuiftConfig.paramSort(param, orderModel.getOrderChildList().get(0).getSettleAccountKey()).getBytes()).toLowerCase());
JSONObject response = HttpsUtils.doPost(HuiftConfig.reqUrl + "/hfq/v1/thirdPay/thirdPayRefund", JSONObject.toJSONString(param)); JSONObject response = HttpsUtils.doPost(HuiftConfig.reqUrl + "/hfq/v1/thirdPay/thirdPayRefund", JSONObject.toJSONString(param));
if (response.getString("status").equals("ok")) { if (response.getString("status").equals("ok")) {
return response.getJSONObject("data"); return response.getJSONObject("data");

@ -19,6 +19,10 @@ public class HuiftConfig {
public final static String reqUrl = CommonSysConst.getSysConfig().getHuiftReqUrl(); public final static String reqUrl = CommonSysConst.getSysConfig().getHuiftReqUrl();
public final static String shopcode = CommonSysConst.getSysConfig().getHuiftShopCode(); public final static String shopcode = CommonSysConst.getSysConfig().getHuiftShopCode();
public final static String signSecret = CommonSysConst.getSysConfig().getHuiftSignSecret(); public final static String signSecret = CommonSysConst.getSysConfig().getHuiftSignSecret();
public final static String shopcode98 = "20240653-59c4-4181-9157-17fd4b95c3fc";
public final static String signSecret98 = "19C17F9E19B8DDDDF2FD2EE4EA9F6C61";
public final static String shopcode95 = "b4b121b6-ec5c-44e1-a020-d2f21e754b55";
public final static String signSecret95 = "4AA9E79115848B797B53FBD830B402F4";
/** /**
* 参数排序 * 参数排序

Loading…
Cancel
Save