Skip to content

Instantly share code, notes, and snippets.

@UC10D
Last active June 22, 2016 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UC10D/fd1fe272839f7098d1cfcff1d69ceedf to your computer and use it in GitHub Desktop.
Save UC10D/fd1fe272839f7098d1cfcff1d69ceedf to your computer and use it in GitHub Desktop.
#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;
}
}
@UC10D
Copy link
Author

UC10D commented Jun 22, 2016

自己用的数据请求类 ver 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment