generated from root/miduo_server
悠谷支付回调返回
parent
13f29eb9f8
commit
e1b9a1ec11
|
@ -55,11 +55,12 @@ public class YouGuRechargeController {
|
|||
String gameExt = request.getParameter("extinfo"); //透传参数,如CP下单有值提交,则会原样回传,不得超过255个字符
|
||||
String[] callback = gameExt.split("_");
|
||||
String result = PayLogic.initOrder(gameExt, orderno, String.valueOf(amount), new Date(), callback[0], PaySdkEnum.YOUGU);
|
||||
jsonObject.put("errmsg",result);
|
||||
if (result.equals("SUCCESS")){
|
||||
if (result.equals("SUCCESS") || result.equals("ORDER_IS_EXIST")){
|
||||
jsonObject.put("errno","0");
|
||||
jsonObject.put("errmsg","SUCCESS");
|
||||
return jsonObject.toString();
|
||||
}
|
||||
jsonObject.put("errmsg",result);
|
||||
return jsonObject.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue