| | |
| | | package com.java110.core.context; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.common.util.DateUtil; |
| | | import com.java110.utils.util.DateUtil; |
| | | import org.springframework.http.ResponseEntity; |
| | | |
| | | import java.io.Serializable; |
| | |
| | | |
| | | |
| | | private String userId ; |
| | | |
| | | //会话ID |
| | | private String sessionId; |
| | | |
| | | private String transactionId; |
| | | |
| | |
| | | this.token = token; |
| | | } |
| | | |
| | | @Override |
| | | public String getSessionId() { |
| | | return sessionId; |
| | | } |
| | | |
| | | public void setSessionId(String sessionId) { |
| | | this.sessionId = sessionId; |
| | | } |
| | | |
| | | public void setReqData(String reqData) { |
| | | this.reqData = reqData; |
| | | } |
| | |
| | | return this; |
| | | } |
| | | |
| | | public IPageData builder(String userId,String token,String reqData,String componentCode,String componentMethod,String url) |
| | | public IPageData builder(String userId,String token,String reqData,String componentCode,String componentMethod,String url,String sessionId) |
| | | throws IllegalArgumentException{ |
| | | this.setComponentCode(componentCode); |
| | | this.setComponentMethod(componentMethod); |
| | |
| | | this.setUserId(userId); |
| | | this.setToken(token); |
| | | this.setUrl(url); |
| | | this.setSessionId(sessionId); |
| | | |
| | | return this; |
| | | } |