فهرست منبع

修改回调接口

qxm 4 سال پیش
والد
کامیت
b1cb0dabdb

+ 5 - 2
suishenbang-wxportal/suishenbang-wxportal-api/src/main/java/com/dgtly/wxportal/controller/EsignController.java

@@ -94,7 +94,7 @@ public class EsignController extends ApiBaseController {
             orderFile.setOrderId(orderId);
             orderFile.setCustomersCode(authorizedAccountId);
             orderFile.setSignerId(signerAccountId);
-            orderFile.setSignerName("");
+            orderFile.setSignerName(sysUser.getUserName());
             orderFile.setFlowId(flowId);
             orderFileService.insertOrderFile(orderFile);
             return result;
@@ -103,9 +103,12 @@ public class EsignController extends ApiBaseController {
         }
     }
 
+
+
     /**
      * 经销商通过签署地址签署后,回调此方法,通过flowId得到签署后的文件下载地址并保存url
      */
+    @ApiOperation(value = "经销商通过签署地址签署后,回调此方法")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "params", paramType = "body")
     })
@@ -120,7 +123,7 @@ public class EsignController extends ApiBaseController {
         orderFile.setFlowId(flowId);
         orderFile.setFileUrl(fileUrl);
         orderFileService.updateOrderFileByFlowId(orderFile);
-        return fileUrl;
+        return AjaxResult.success();
     }