Browse Source

入网回调

igl 3 months ago
parent
commit
42daddba0c

+ 10 - 0
src/main/java/com/chelvc/cloud/maintain/controller/AssetController.java

@@ -2,6 +2,7 @@ package com.chelvc.cloud.maintain.controller;
 
 
 import com.chelvc.cloud.vehicle.client.AssetClient;
 import com.chelvc.cloud.vehicle.client.AssetClient;
 import com.chelvc.cloud.vehicle.client.dto.MerchantAssetDTO;
 import com.chelvc.cloud.vehicle.client.dto.MerchantAssetDTO;
+import com.chelvc.cloud.vehicle.client.param.TransferNotifyParam;
 import com.chelvc.cloud.vehicle.client.param.WithdrawNotifyParam;
 import com.chelvc.cloud.vehicle.client.param.WithdrawNotifyParam;
 import com.chelvc.cloud.vehicle.client.param.WithdrawParam;
 import com.chelvc.cloud.vehicle.client.param.WithdrawParam;
 import com.chelvc.framework.base.annotation.ResponseWrapping;
 import com.chelvc.framework.base.annotation.ResponseWrapping;
@@ -54,4 +55,13 @@ public class AssetController {
     public void withdrawNotify(@RequestBody WithdrawNotifyParam param) {
     public void withdrawNotify(@RequestBody WithdrawNotifyParam param) {
         this.assetClient.withdrawNotify(param);
         this.assetClient.withdrawNotify(param);
     }
     }
+
+    /**
+     * 转账回调接口
+     *
+     */
+    @PostMapping("/asset/transfer/notify")
+    public void transferNotify(@RequestBody TransferNotifyParam param) {
+        this.assetClient.transferNotify(param);
+    }
 }
 }