generated from root/miduo_server
透传参数
parent
c4b8a8936b
commit
9ad081f6b6
|
@ -54,6 +54,7 @@ public class HaoFanRechargeController {
|
|||
String gamePid = request.getParameter("gamePid"); //游戏PID
|
||||
String productId = request.getParameter("productId"); //物品id
|
||||
String productName = request.getParameter("productName"); //物品名称
|
||||
String remark = request.getParameter("remark"); //透传参数
|
||||
|
||||
LOGGER.info("hao fan======》{}", parameterMap);
|
||||
SortedMap<String, String> map = new TreeMap<>();
|
||||
|
@ -69,7 +70,7 @@ public class HaoFanRechargeController {
|
|||
int rmb = (int)Float.parseFloat(orderMoney)*100;
|
||||
JsonObject jsonObject = new JsonObject();
|
||||
|
||||
if ("SUCCESS".equals(payLogic.initOrder(userNo + "_" + productId + "_" + companyOrderNo, orderNo, String.valueOf(rmb), new Date(), userNo, PaySdkEnum.HANFAN))) {
|
||||
if ("SUCCESS".equals(payLogic.initOrder(remark, orderNo, String.valueOf(rmb), new Date(), userNo, PaySdkEnum.HANFAN))) {
|
||||
jsonObject.addProperty("code", "100");
|
||||
jsonObject.addProperty("msg", "");
|
||||
return jsonObject.toString();
|
||||
|
|
|
@ -37,7 +37,6 @@ public class PayLogic {
|
|||
}
|
||||
|
||||
public String initOrder(String collBackInfo, String orderId, String amount, Date time, String openId, PaySdkEnum sdk){
|
||||
LOGGER.info("collBackInfo=>{} orderId {} amount{} openId{} ",collBackInfo);
|
||||
return initOrder(collBackInfo,orderId,amount,time,openId,sdk,"");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue