修改代码

master
冯凯 2023-11-02 15:09:30 +08:00
parent 6a21214ade
commit 2c426498e6
1 changed files with 2 additions and 6 deletions

View File

@ -1,10 +1,8 @@
package com.health.system.server.controller;
import com.health.common.core.domain.Result;
import com.health.system.common.domain.BankCard;
import com.health.system.server.config.ForestClientInterface;
import com.health.system.server.service.SysBankCardService;
import com.health.wallet.remote.RemoteWalletService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@ -13,8 +11,6 @@ import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.util.Base64;
import java.util.Map;
/**
* @author
@ -41,7 +37,7 @@ public class SysBankCardController {
public Result bindUserBank(@RequestParam("bankImage") MultipartFile bankImage) throws IOException {
//获取银行卡照片的字节流
Boolean flag=sysBankCardService.bindUserBank(bankImage);
return flag==true?Result.success("","银行卡绑定成功"):Result.error("","银行卡绑定失败");
Boolean flag = sysBankCardService.bindUserBank(bankImage);
return flag == true ? Result.success("", "银行卡绑定成功") : Result.error("", "银行卡绑定失败");
}
}