|
@@ -28,6 +28,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.data.domain.PageRequest;
|
|
|
import org.springframework.data.domain.Pageable;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
@@ -897,8 +898,9 @@ public class WebMediatorImpl implements ViewMediator {
|
|
|
}
|
|
|
String bank = String.valueOf(json.get("bank"));
|
|
|
String url1="https://apimg.alipay.com/combo.png?d=cashier&t=bank"+bank;
|
|
|
- // MultipartFile result1 = restTemplate.getForObject(url1,MultipartFile.class);
|
|
|
+ //MultipartFile result1 = restTemplate
|
|
|
//System.out.println(result1);
|
|
|
+ //MultipartFile result1=restTemplate.exchange(url1,);
|
|
|
//String photo=uploadService.uploadImage(result1,userId);
|
|
|
//System.out.println(photo.toString());
|
|
|
bankCardPO.setUser(bankCardVO.getUser());
|