@@ -96,12 +96,10 @@ protected ResponseEntity<String> callCenterService(RestTemplate restTemplate, IP
9696
9797 headers .put (CommonConstant .USER_ID , StringUtil .isEmpty (pd .getUserId ()) ? "-1" : pd .getUserId ());
9898
99- if (!headers .containsKey (CommonConstant .HTTP_APP_ID )) {
100- headers .put (CommonConstant .HTTP_APP_ID , AppDto .WEB_APP_ID );
101- }
102- if (!headers .containsKey (CommonConstant .APP_ID )) {
103- headers .put (CommonConstant .APP_ID , AppDto .WEB_APP_ID );
104- }
99+
100+ headers .put (CommonConstant .HTTP_APP_ID , AppDto .WEB_APP_ID );
101+ headers .put (CommonConstant .APP_ID , AppDto .WEB_APP_ID );
102+
105103 if (!headers .containsKey (CommonConstant .HTTP_TRANSACTION_ID )) {
106104 headers .put (CommonConstant .HTTP_TRANSACTION_ID , GenerateCodeFactory .getUUID ());
107105 }
@@ -394,7 +392,7 @@ protected ResponseEntity<String> getStoreInfo(IPageData pd, RestTemplate restTem
394392 */
395393 protected void checkStoreEnterCommunity (IPageData pd , String storeId , String storeTypeCd , String communityId , RestTemplate restTemplate ) {
396394 Assert .hasLength (pd .getUserId (), "用户未登录请先登录" );
397- ResultVo resultVo = getCommunityStoreInfoSMOImpl .getStoreEnterCommunitys (pd , storeId , storeTypeCd , restTemplate );
395+ ResultVo resultVo = getCommunityStoreInfoSMOImpl .getStoreEnterCommunitys (pd , storeId , storeTypeCd , restTemplate );
398396 if (resultVo .getCode () != ResultVo .CODE_OK ) {
399397 throw new SMOException (ResponseConstant .RESULT_CODE_ERROR , "还未入驻小区,请先入驻小区" );
400398 }
0 commit comments