增加渠道信息
This commit is contained in:
@@ -5,6 +5,7 @@ export namespace main {
|
||||
uploader: string;
|
||||
secret: string;
|
||||
timeout: string;
|
||||
sourceChannel: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new DefaultSettings(source);
|
||||
@@ -16,6 +17,7 @@ export namespace main {
|
||||
this.uploader = source["uploader"];
|
||||
this.secret = source["secret"];
|
||||
this.timeout = source["timeout"];
|
||||
this.sourceChannel = source["sourceChannel"];
|
||||
}
|
||||
}
|
||||
export class UploadForm {
|
||||
@@ -23,6 +25,7 @@ export namespace main {
|
||||
uploader: string;
|
||||
secret: string;
|
||||
timeout: string;
|
||||
sourceChannel: string;
|
||||
data: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
@@ -35,6 +38,7 @@ export namespace main {
|
||||
this.uploader = source["uploader"];
|
||||
this.secret = source["secret"];
|
||||
this.timeout = source["timeout"];
|
||||
this.sourceChannel = source["sourceChannel"];
|
||||
this.data = source["data"];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user