| | |
| | | import com.java110.core.log.LoggerFactory; |
| | | import com.java110.dto.store.StoreDto; |
| | | import com.java110.entity.component.ComponentValidateResult; |
| | | import com.java110.intf.store.IStoreV1InnerServiceSMO; |
| | | import com.java110.utils.constant.CommonConstant; |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.utils.util.StringUtil; |
| | |
| | | |
| | | @Autowired |
| | | private IApiServiceSMO apiServiceSMOImpl; |
| | | |
| | | @Autowired |
| | | private IStoreV1InnerServiceSMO storeV1InnerServiceSMOImpl; |
| | | |
| | | private final static Logger logger = LoggerFactory.getLogger(ApiSMOImpl.class); |
| | | |
| | |
| | | headers.put("user-id", result.getUserId()); |
| | | headers.put("user_id", result.getUserId()); |
| | | headers.put("login-user-id",result.getLoginUserId()); |
| | | if (!StringUtil.isEmpty(result.getUserName())) { |
| | | headers.put("user-name", URLEncoder.encode(result.getUserName(), "UTF-8")); |
| | | } |
| | | // if (!StringUtil.isEmpty(result.getUserName())) { |
| | | // headers.put("user-name", URLEncoder.encode(result.getUserName(), "UTF-8")); |
| | | // } |
| | | } |
| | | |
| | | if (!StringUtil.isEmpty(result.getStoreId())) { |