加注释
This commit is contained in:
@@ -27,7 +27,7 @@ public interface CoolStoreStartFlowService {
|
||||
/**
|
||||
*特许经营合同
|
||||
* @param request
|
||||
* @param type 0:个人 1:企业
|
||||
* @param type 1:个人 2:企业
|
||||
* @return
|
||||
*/
|
||||
ResponseResult franchiseAgreement(FranchiseAgreementRequest request,Integer type);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user