测试代码去除
authorkaixiang.xia <kaixiang.xia@supwisdom.com>
Mon, 26 Oct 2020 07:45:00 +0000 (15:45 +0800)
committerkaixiang.xia <kaixiang.xia@supwisdom.com>
Mon, 26 Oct 2020 07:45:00 +0000 (15:45 +0800)
payapi/src/main/kotlin/com/supwisdom/dlpay/api/controller/consume_api_controller.kt

index 657b64d..87e054c 100644 (file)
@@ -344,8 +344,6 @@ class ConsumeAPIController {
             transactionService.wip(refundTrans.refno)
             val service = createAgentService<Any>(mainDtl.sourceType)
             val resp = service.refund(refundTrans)
-            resp.code = AgentCode.SUCCESS
-            resp.agentRefno = systemUtilService.refno
             when (resp.code) {
                 AgentCode.SUCCESS -> {
                     transactionService.success(refundTrans.refno, resp.agentRefno, false)