fengx 8 місяців тому
батько
коміт
d5a10b1a0a

+ 2 - 2
src/main/java/com/sunxung/factoring/web/purchcontractmanagement/PurchContractConfirmController.java

@@ -230,8 +230,8 @@ public class PurchContractConfirmController {
     @PostMapping("/getAuthInfo")
     @ResponseBody
     @Transactional(rollbackFor = Exception.class)
-    public Object getAuthInfo(String fddCustomerId) throws ValidatorException {
-        String result = ElectronicSignatureUtil.getAuthInfoDetail(fddCustomerId, "2");
+    public Object getAuthInfo(@RequestBody Platform platform) throws ValidatorException {
+        String result = ElectronicSignatureUtil.getAuthInfoDetail(platform.getFddCustomerId(), "2");
         JSONObject jsonObject = JSONObject.parseObject(result);
         JSONObject data = jsonObject.getJSONObject("data");
         JSONObject company = data.getJSONObject("company");