utils.ts 134 B

123456789
  1. export class Result {
  2. static success(data: any) {
  3. return {
  4. code: 0,
  5. success: true,
  6. result: data,
  7. };
  8. }
  9. }