You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
SOP/sop-sdk/sdk-nodejs/request/StoryGetRequest.js

19 lines
409 B

const BaseRequest = require('../common/BaseRequest');
const RequestType = require('../common/RequestType');
/**
* 创建一个请求类,继承BaseRequest,重写三个函数
*/
module.exports = class StoryGetRequest extends BaseRequest {
getMethod() {
return 'story.get';
}
getVersion() {
return '1.0';
}
getRequestType() {
return RequestType.GET;
}
};