|
@@ -82,27 +82,27 @@ public class PartyAController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 用户协议签署
|
|
|
- * @param input 加密信息
|
|
|
- * @return 签署结果
|
|
|
- */
|
|
|
- @PostMapping(value = "/tax-helper/agreement-signature")
|
|
|
- public R<?> taxHelper(@RequestBody EncryptedInput input){
|
|
|
-
|
|
|
- // 获取解密的文档
|
|
|
- String decodeStr = input.getEncryptedInfo();
|
|
|
-
|
|
|
- // 实际业务处理
|
|
|
- TaxHelperAgreementSignatureDTO taxHelperAgreementSignatureDTO = JSONUtil.toBean(decodeStr, TaxHelperAgreementSignatureDTO.class);
|
|
|
- Map<String, String> result = partyAService.userAgreementAuthorization(taxHelperAgreementSignatureDTO);
|
|
|
-
|
|
|
- if ("2000".equals(result.get("code"))) {
|
|
|
- return R.ok(result);
|
|
|
- } else {
|
|
|
- return R.failed(result);
|
|
|
- }
|
|
|
- }
|
|
|
+ // /**
|
|
|
+ // * 用户协议签署
|
|
|
+ // * @param input 加密信息
|
|
|
+ // * @return 签署结果
|
|
|
+ // */
|
|
|
+ // @PostMapping(value = "/tax-helper/agreement-signature")
|
|
|
+ // public R<?> taxHelperAgreementSignature(@RequestBody EncryptedInput input){
|
|
|
+ //
|
|
|
+ // // 获取解密的文档
|
|
|
+ // String decodeStr = input.getEncryptedInfo();
|
|
|
+ //
|
|
|
+ // // 实际业务处理
|
|
|
+ // TaxHelperAgreementSignatureDTO taxHelperAgreementSignatureDTO = JSONUtil.toBean(decodeStr, TaxHelperAgreementSignatureDTO.class);
|
|
|
+ // Map<String, String> result = partyAService.userAgreementAuthorization(taxHelperAgreementSignatureDTO);
|
|
|
+ //
|
|
|
+ // if ("2000".equals(result.get("code"))) {
|
|
|
+ // return R.ok(result);
|
|
|
+ // } else {
|
|
|
+ // return R.failed(result);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
|
|
|
/**
|
|
|
* 获取税邦云h5认证token
|