加注释

This commit is contained in:
guohb
2024-05-17 16:48:43 +08:00
parent 159c29458a
commit a32c5957c3
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ public interface CoolStoreStartFlowService {
/**
*特许经营合同
* @param request
* @param type 0:个人 1:企业
* @param type 1:个人 2:企业
* @return
*/
ResponseResult franchiseAgreement(FranchiseAgreementRequest request,Integer type);

View File

@@ -69,9 +69,9 @@ public class CoolStoreStartFlowServiceImpl implements CoolStoreStartFlowService
Map<String, Object> requestMap = new HashMap<>();
fillSignatureInfo(requestMap);
String url = null;
if (Constants.ONE_INTEGER == type) {
if (Constants.TWO_INTEGER == type) {
url = xfsgUrl + Constants.FRANCHISE_AGREEMENT_COMPANY + "?timestamp=" + requestMap.get("timestamp") + "&signature=" + requestMap.get("signature");
} else if (Constants.TWO_INTEGER == type) {
} else if (Constants.ONE_INTEGER == type) {
url = xfsgUrl + Constants.FRANCHISE_AGREEMENT_PERSON + "?timestamp=" + requestMap.get("timestamp") + "&signature=" + requestMap.get("signature");
}
InitiatingResponse initiatingResponse = httpRestTemplateService.postForObject(url, request, InitiatingResponse.class);