Browse Source

新需求

傅行帆 5 years ago
parent
commit
9774735c0c

+ 6
- 6
src/main/java/com/huiju/estateagents/eContract/controller/TaCompanyController.java View File

@@ -452,12 +452,12 @@ public class TaCompanyController extends BaseController {
452 452
      * 自动授权签章回调
453 453
      */
454 454
     @RequestMapping(value = "/fadd/autoAuthCompanySeal", method = RequestMethod.POST)
455
-    public void autoAuthCompanySealNotify(@RequestParam String transactionId,
456
-                                          @RequestParam Integer contractId,
457
-                                          @RequestParam String downloadUrl,
458
-                                          @RequestParam String viewpdfUrl,
459
-                                          @RequestParam String resultCode,
460
-                                          @RequestParam String resultDesc,
455
+    public void autoAuthCompanySealNotify(@RequestParam(value = "transaction_id",required = false) String transactionId,
456
+                                          @RequestParam(value = "contract_id",required = false) Integer contractId,
457
+                                          @RequestParam(value = "download_url",required = false) String downloadUrl,
458
+                                          @RequestParam(value = "viewpdf_url",required = false) String viewpdfUrl,
459
+                                          @RequestParam(value = "result_code",required = false) String resultCode,
460
+                                          @RequestParam(value = "result_desc",required = false) String resultDesc,
461 461
                                           HttpServletRequest request){
462 462
         TaContract taContract = new TaContract();
463 463
         taContract.setContractId(contractId);

+ 1
- 1
src/main/java/com/huiju/estateagents/eContract/service/impl/TaContractServiceImpl.java View File

@@ -173,7 +173,7 @@ public class TaContractServiceImpl extends ServiceImpl<TaContractMapper, TaContr
173 173
         req.setSign_keyword(taContractBusiness.getCustomerKeywords());
174 174
         req.setKeyword_strategy(taContractBusiness.getCustomerStrategy());
175 175
         req.setDoc_title(taContractBusiness.getContractTemplateName());
176
-        req.setReturn_url("/onlineSelling/pages/raiseMoney/signResult");
176
+//        req.setReturn_url("/onlineSelling/pages/raiseMoney/signResult");
177 177
         req.setNotify_url(fadadaProperties.getSignNotify());
178 178
         String signUrl = base.invokeExtSign(req);
179 179
         return signUrl;

+ 4
- 4
src/main/java/com/huiju/estateagents/eContract/service/impl/TaContractUserServiceImpl.java View File

@@ -60,8 +60,8 @@ public class TaContractUserServiceImpl extends ServiceImpl<TaContractUserMapper,
60 60
         log.info("========法大大个人注册=======");
61 61
         //在法大大注册个人用户
62 62
         FddClientBase base = new FddClientBase(fadadaProperties.getAppId(),fadadaProperties.getAppSecret(),fadadaProperties.getVersion(),fadadaProperties.getServeHost());
63
-        //小程序id为注册账号
64
-        String open_id = person.getMiniappId();
63
+        //小程序open——id为注册账号
64
+        String open_id = person.getMiniOpenid();
65 65
         //account_type 1是个人注册
66 66
         String result =base.invokeregisterAccount(open_id,"1");
67 67
         log.info("法大大注册信息{}", result);
@@ -86,10 +86,10 @@ public class TaContractUserServiceImpl extends ServiceImpl<TaContractUserMapper,
86 86
         String verifyed_way = "0";
87 87
         String page_modify = "1";
88 88
         String notify_url = fadadaProperties.getCompanyNotify();
89
-        String return_url= "/onlineSelling/pages/raiseMoney/Certification?id=" + taRaiseRecord.getRaiseRecordId();
89
+//        String return_url= "/onlineSelling/pages/raiseMoney/Certification?id=" + taRaiseRecord.getRaiseRecordId();
90 90
         String customer_ident_type = "0";
91 91
         String personResult = personverify.invokePersonVerifyUrl(customer_id,verifyed_way,
92
-                page_modify,notify_url,return_url,null,customer_ident_type,
92
+                page_modify,notify_url,null,null,customer_ident_type,
93 93
                 null,null,null,null,null);
94 94
 
95 95
         String data = JSON.parseObject(personResult).getString("data");