|
|
@@ -1,21 +1,13 @@
|
|
|
package com.uas.platform.b2c.fa.payment.controller;
|
|
|
|
|
|
-import com.alibaba.fastjson.JSONObject;
|
|
|
import com.uas.platform.b2c.core.support.log.UsageBufferedLogger;
|
|
|
-import com.uas.platform.b2c.fa.payment.service.BankReceiptsService;
|
|
|
import com.uas.platform.b2c.fa.payment.service.PinganTradeService;
|
|
|
-import com.uas.platform.b2c.trade.support.ResultMap;
|
|
|
import com.uas.platform.core.logging.BufferedLoggerManager;
|
|
|
-import org.apache.http.HttpStatus;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import javax.servlet.http.HttpServletRequest;
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
-import java.util.HashMap;
|
|
|
|
|
|
/**
|
|
|
* 会员交易接口
|
|
|
@@ -37,8 +29,8 @@ public class PinganTradeController {
|
|
|
|
|
|
|
|
|
|
|
|
- /**
|
|
|
- * 会员间交易
|
|
|
+ /**5555555555555555555555555555555555测完部分
|
|
|
+ * 会员间交易(验证短信动态码)【6101】
|
|
|
*
|
|
|
* @param isPersonal
|
|
|
* @return
|
|
|
@@ -50,7 +42,7 @@ public class PinganTradeController {
|
|
|
return str;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ /**888888888888888888888888888888888交易接收成功了
|
|
|
* 会员提现(验证短信验证码)【6085】
|
|
|
*
|
|
|
* @param isPersonal
|
|
|
@@ -75,7 +67,7 @@ public class PinganTradeController {
|
|
|
return resultStr;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ /**不用测试,我们是非自营平台
|
|
|
* 会员充值(在途)【6056】
|
|
|
*
|
|
|
* @param isPersonal
|
|
|
@@ -89,5 +81,87 @@ public class PinganTradeController {
|
|
|
|
|
|
|
|
|
|
|
|
+ /**888888888888888888888888888888888888888888888
|
|
|
+ * 查询银行单笔交易状态(6094优化版)【6110】
|
|
|
+ *
|
|
|
+ * @param isPersonal 传入的时间
|
|
|
+ * @return String
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/query/order/status",method = RequestMethod.POST)
|
|
|
+ public String orderTradeStatus(Boolean isPersonal) {
|
|
|
+ return pinganTradeService.orderTradeStatus(isPersonal);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 交易撤销【6077】
|
|
|
+ *
|
|
|
+ * @param isPersonal
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/expenditure/apply",method = RequestMethod.POST)
|
|
|
+ public String expenditureApply(Boolean isPersonal) {
|
|
|
+ return pinganTradeService.expenditureApply(isPersonal);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**88888888888888888888888888888888888
|
|
|
+ * 查询银行子账户余额【6010】
|
|
|
+ *
|
|
|
+ * @param isPersonal 传入的数据
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/settleAccount/query",method = RequestMethod.POST)
|
|
|
+ public String querySettleAccounts(Boolean isPersonal) {
|
|
|
+ return pinganTradeService.querySettleAccounts(isPersonal);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ /**888888888888888888888888888888888888888888888888
|
|
|
+ * 查询银行提现退单信息【6048】
|
|
|
+ * @param isPersonal 传入的数据
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/withDrawChargeBack",method = RequestMethod.POST)
|
|
|
+ public String queryWithdrawChargeBack(Boolean isPersonal) {
|
|
|
+ return pinganTradeService.queryWithdrawChargeBack(isPersonal);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**888888888888888888888888888888888888888888
|
|
|
+ *查询普通转账充值明细【6050】
|
|
|
+ *
|
|
|
+ * @param isPersonal 传入的数据
|
|
|
+ * @return String
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/query/transferDetail",method = RequestMethod.POST)
|
|
|
+ public String queryTransferAccountsDetail(Boolean isPersonal) {
|
|
|
+ return pinganTradeService.queryTransferAccountsDetail(isPersonal);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**888888888888888888888888888888888888888888888
|
|
|
+ * 查询银行时间段内交易明细【6072】
|
|
|
+ *
|
|
|
+ * @param isPersonal 输入的信息
|
|
|
+ * @return String
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/query/trade",method = RequestMethod.POST)
|
|
|
+ public String queryAccountTradeInfo(Boolean isPersonal) {
|
|
|
+ return pinganTradeService.queryAccountTradeInfo(isPersonal);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 登记挂账【6008】(挂账子账户中余额转到对应的子账户)
|
|
|
+ *
|
|
|
+ * @param isPersonal
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/distributionSpecialAccount",method = RequestMethod.POST)
|
|
|
+ public String distributionSpecialAccount(Boolean isPersonal) {
|
|
|
+ return pinganTradeService.distributionSpecialAccount(isPersonal);
|
|
|
+ }
|
|
|
|
|
|
}
|