Last active
June 22, 2016 15:16
-
-
Save UC10D/fd1fe272839f7098d1cfcff1d69ceedf to your computer and use it in GitHub Desktop.
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
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end | |
#parse("File Header.java") | |
public class ${NAME} extends BaseQT { | |
#set ($foo = ${DateName} ) | |
#if( $foo != 0 ) | |
private ${DateType} ${DateName}; | |
public ${NAME} (${DateType} ${DateName}) { | |
this.${DateName} = ${DateName}; | |
} | |
#end | |
@Override | |
public int getRequestQT() { | |
return ${QTNumber}; | |
} | |
@Override | |
public HashMap<String, String> getRequestParams() { | |
HashMap<String, String> requestParamsMap = new HashMap<String, String>(); | |
requestParamsMap.put("qt", String.valueOf(getRequestQT())); | |
return requestParamsMap; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
自己用的数据请求类 ver 1.0.0