-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #184 from rememberber/develop
Develop
- Loading branch information
Showing
93 changed files
with
5,120 additions
and
1,651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.fangxuele.tool.push.bean; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
|
||
import java.io.Serializable; | ||
import java.net.HttpCookie; | ||
import java.util.List; | ||
import java.util.Map; | ||
|
||
/** | ||
* <pre> | ||
* HttpMsg | ||
* </pre> | ||
* | ||
* @author <a href="https://github.com/rememberber">Zhou Bo</a> | ||
* @since 2019/7/18. | ||
*/ | ||
@Getter | ||
@Setter | ||
@ToString | ||
public class HttpMsg implements Serializable { | ||
|
||
private static final long serialVersionUID = 114436270588113296L; | ||
|
||
private String url; | ||
|
||
private String body; | ||
|
||
private Map<String, Object> paramMap; | ||
|
||
private Map<String, Object> headerMap; | ||
|
||
private List<HttpCookie> cookies; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/main/java/com/fangxuele/tool/push/dao/TMsgHttpMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.fangxuele.tool.push.dao; | ||
|
||
import com.fangxuele.tool.push.domain.TMsgHttp; | ||
import org.apache.ibatis.annotations.Param; | ||
|
||
import java.util.List; | ||
|
||
public interface TMsgHttpMapper { | ||
int deleteByPrimaryKey(Integer id); | ||
|
||
int insert(TMsgHttp record); | ||
|
||
int insertSelective(TMsgHttp record); | ||
|
||
TMsgHttp selectByPrimaryKey(Integer id); | ||
|
||
int updateByPrimaryKeySelective(TMsgHttp record); | ||
|
||
int updateByPrimaryKey(TMsgHttp record); | ||
|
||
List<TMsgHttp> selectByMsgTypeAndMsgName(@Param("msgType") int msgType, @Param("msgName") String msgName); | ||
|
||
int updateByMsgTypeAndMsgName(TMsgHttp tMsgHttp); | ||
|
||
List<TMsgHttp> selectByMsgType(int msgType); | ||
} |
117 changes: 117 additions & 0 deletions
117
src/main/java/com/fangxuele/tool/push/domain/TMsgHttp.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
package com.fangxuele.tool.push.domain; | ||
|
||
import java.io.Serializable; | ||
|
||
public class TMsgHttp implements Serializable { | ||
private Integer id; | ||
|
||
private Integer msgType; | ||
|
||
private String msgName; | ||
|
||
private String method; | ||
|
||
private String url; | ||
|
||
private String params; | ||
|
||
private String headers; | ||
|
||
private String cookies; | ||
|
||
private String body; | ||
|
||
private String createTime; | ||
|
||
private String modifiedTime; | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public Integer getId() { | ||
return id; | ||
} | ||
|
||
public void setId(Integer id) { | ||
this.id = id; | ||
} | ||
|
||
public Integer getMsgType() { | ||
return msgType; | ||
} | ||
|
||
public void setMsgType(Integer msgType) { | ||
this.msgType = msgType; | ||
} | ||
|
||
public String getMsgName() { | ||
return msgName; | ||
} | ||
|
||
public void setMsgName(String msgName) { | ||
this.msgName = msgName == null ? null : msgName.trim(); | ||
} | ||
|
||
public String getMethod() { | ||
return method; | ||
} | ||
|
||
public void setMethod(String method) { | ||
this.method = method == null ? null : method.trim(); | ||
} | ||
|
||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
public void setUrl(String url) { | ||
this.url = url == null ? null : url.trim(); | ||
} | ||
|
||
public String getParams() { | ||
return params; | ||
} | ||
|
||
public void setParams(String params) { | ||
this.params = params == null ? null : params.trim(); | ||
} | ||
|
||
public String getHeaders() { | ||
return headers; | ||
} | ||
|
||
public void setHeaders(String headers) { | ||
this.headers = headers == null ? null : headers.trim(); | ||
} | ||
|
||
public String getCookies() { | ||
return cookies; | ||
} | ||
|
||
public void setCookies(String cookies) { | ||
this.cookies = cookies == null ? null : cookies.trim(); | ||
} | ||
|
||
public String getBody() { | ||
return body; | ||
} | ||
|
||
public void setBody(String body) { | ||
this.body = body == null ? null : body.trim(); | ||
} | ||
|
||
public String getCreateTime() { | ||
return createTime; | ||
} | ||
|
||
public void setCreateTime(String createTime) { | ||
this.createTime = createTime == null ? null : createTime.trim(); | ||
} | ||
|
||
public String getModifiedTime() { | ||
return modifiedTime; | ||
} | ||
|
||
public void setModifiedTime(String modifiedTime) { | ||
this.modifiedTime = modifiedTime == null ? null : modifiedTime.trim(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.