This commit is contained in:
2026-07-16 17:54:03 +08:00
parent 9ba28f2f7c
commit 4806ca6bc0
9 changed files with 454 additions and 93 deletions
+21
View File
@@ -0,0 +1,21 @@
export namespace main {
export class ImageResult {
code: number;
message: string;
data?: string;
static createFrom(source: any = {}) {
return new ImageResult(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.code = source["code"];
this.message = source["message"];
this.data = source["data"];
}
}
}