|
@@ -1,7 +1,7 @@
|
|
|
/* tslint:disable */
|
|
|
/* eslint-disable */
|
|
|
/**
|
|
|
- * Swagger Petstore - OpenAPI 3.0 - version 1.0.26
|
|
|
+ * Swagger Petstore - OpenAPI 3.0 - version 1.0.27
|
|
|
*
|
|
|
* This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about
|
|
|
Swagger at [https://swagger.io](https://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!
|
|
@@ -111,970 +111,705 @@ type Alova2Method<
|
|
|
>
|
|
|
>
|
|
|
: never;
|
|
|
-
|
|
|
-export type Category = {
|
|
|
- id?: number;
|
|
|
- name?: string;
|
|
|
-};
|
|
|
-export type Tag = {
|
|
|
- id?: number;
|
|
|
- name?: string;
|
|
|
-};
|
|
|
-export type Pet = {
|
|
|
- id?: number;
|
|
|
- /**
|
|
|
- * [required]
|
|
|
- */
|
|
|
- name: string;
|
|
|
- category?: Category;
|
|
|
- /**
|
|
|
- * [required]
|
|
|
- */
|
|
|
- photoUrls: string[];
|
|
|
- tags?: Tag[];
|
|
|
- /**
|
|
|
- * pet status in the store
|
|
|
- */
|
|
|
- status?: "available" | "pending" | "sold";
|
|
|
-};
|
|
|
-export type ApiResponse = {
|
|
|
- code?: number;
|
|
|
- type?: string;
|
|
|
- message?: string;
|
|
|
-};
|
|
|
-export type Order = {
|
|
|
- id?: number;
|
|
|
- petId?: number;
|
|
|
- quantity?: number;
|
|
|
- shipDate?: string;
|
|
|
- /**
|
|
|
- * Order Status
|
|
|
- */
|
|
|
- status?: "placed" | "approved" | "delivered";
|
|
|
- complete?: boolean;
|
|
|
-};
|
|
|
-export type User = {
|
|
|
- id?: number;
|
|
|
- username?: string;
|
|
|
- firstName?: string;
|
|
|
- lastName?: string;
|
|
|
- email?: string;
|
|
|
- password?: string;
|
|
|
- phone?: string;
|
|
|
- /**
|
|
|
- * User Status
|
|
|
- */
|
|
|
- userStatus?: number;
|
|
|
-};
|
|
|
+interface PaginationResponse<T> {
|
|
|
+ orders: any[];
|
|
|
+ pages: number;
|
|
|
+ records: T;
|
|
|
+ searchCount: boolean;
|
|
|
+ size: number;
|
|
|
+ total: number;
|
|
|
+ current?: number; // 如果有当前页码
|
|
|
+}
|
|
|
+interface listData<T> {
|
|
|
+ list: T[];
|
|
|
+}
|
|
|
declare global {
|
|
|
interface Apis {
|
|
|
- pet: {
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [PUT] Update an existing pet.
|
|
|
- *
|
|
|
- * **path:** /pet
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **RequestBody**
|
|
|
- * ```ts
|
|
|
- * type RequestBody = {
|
|
|
- * id?: number
|
|
|
- * // [required]
|
|
|
- * name: string
|
|
|
- * category?: {
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }
|
|
|
- * // [required]
|
|
|
- * photoUrls: string[]
|
|
|
- * tags?: Array<{
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }>
|
|
|
- * // pet status in the store
|
|
|
- * status?: 'available' | 'pending' | 'sold'
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * id?: number
|
|
|
- * // [required]
|
|
|
- * name: string
|
|
|
- * category?: {
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }
|
|
|
- * // [required]
|
|
|
- * photoUrls: string[]
|
|
|
- * tags?: Array<{
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }>
|
|
|
- * // pet status in the store
|
|
|
- * status?: 'available' | 'pending' | 'sold'
|
|
|
- * }
|
|
|
- * ```
|
|
|
- */
|
|
|
- updatePet<
|
|
|
- Config extends Alova2MethodConfig<Pet> & {
|
|
|
- data: Pet;
|
|
|
+ user: {
|
|
|
+ loginUser<
|
|
|
+ Config extends Alova2MethodConfig<any> & {
|
|
|
+ params: {
|
|
|
+ username: string;
|
|
|
+ password: string;
|
|
|
+ };
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<Pet, "pet.updatePet", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [POST] Add a new pet to the store.
|
|
|
- *
|
|
|
- * **path:** /pet
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **RequestBody**
|
|
|
- * ```ts
|
|
|
- * type RequestBody = {
|
|
|
- * id?: number
|
|
|
- * // [required]
|
|
|
- * name: string
|
|
|
- * category?: {
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }
|
|
|
- * // [required]
|
|
|
- * photoUrls: string[]
|
|
|
- * tags?: Array<{
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }>
|
|
|
- * // pet status in the store
|
|
|
- * status?: 'available' | 'pending' | 'sold'
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * id?: number
|
|
|
- * // [required]
|
|
|
- * name: string
|
|
|
- * category?: {
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }
|
|
|
- * // [required]
|
|
|
- * photoUrls: string[]
|
|
|
- * tags?: Array<{
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }>
|
|
|
- * // pet status in the store
|
|
|
- * status?: 'available' | 'pending' | 'sold'
|
|
|
- * }
|
|
|
- * ```
|
|
|
- */
|
|
|
- addPet<
|
|
|
- Config extends Alova2MethodConfig<Pet> & {
|
|
|
- data: Pet;
|
|
|
+ ): Alova2Method<any, "user.loginUser", Config>;
|
|
|
+ };
|
|
|
+ sys: {
|
|
|
+ staff<
|
|
|
+ Config extends Alova2MethodConfig<{ records: sysStaff[] }> & {
|
|
|
+ data: {
|
|
|
+ page: number;
|
|
|
+ pageSize: number;
|
|
|
+ };
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<Pet, "pet.addPet", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [GET] Finds Pets by status.
|
|
|
- *
|
|
|
- * **path:** /pet/findByStatus
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Query Parameters**
|
|
|
- * ```ts
|
|
|
- * type QueryParameters = {
|
|
|
- * // Status values that need to be considered for filter
|
|
|
- * status?: 'available' | 'pending' | 'sold'
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = Array<{
|
|
|
- * id?: number
|
|
|
- * // [required]
|
|
|
- * name: string
|
|
|
- * category?: {
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }
|
|
|
- * // [required]
|
|
|
- * photoUrls: string[]
|
|
|
- * tags?: Array<{
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }>
|
|
|
- * // pet status in the store
|
|
|
- * status?: 'available' | 'pending' | 'sold'
|
|
|
- * }>
|
|
|
- * ```
|
|
|
- */
|
|
|
- findPetsByStatus<
|
|
|
- Config extends Alova2MethodConfig<Pet[]> & {
|
|
|
- params: {
|
|
|
- /**
|
|
|
- * Status values that need to be considered for filter
|
|
|
- */
|
|
|
- status?: "available" | "pending" | "sold";
|
|
|
- };
|
|
|
+ ): Alova2Method<{ records: sysStaff[] }, "sys.staff", Config>;
|
|
|
+
|
|
|
+ updateStatus<
|
|
|
+ Config extends Alova2MethodConfig<any> & {
|
|
|
+ data: { status: number; id: string };
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<Pet[], "pet.findPetsByStatus", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [GET] Finds Pets by tags.
|
|
|
- *
|
|
|
- * **path:** /pet/findByTags
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Query Parameters**
|
|
|
- * ```ts
|
|
|
- * type QueryParameters = {
|
|
|
- * // Tags to filter by
|
|
|
- * tags?: string[]
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = Array<{
|
|
|
- * id?: number
|
|
|
- * // [required]
|
|
|
- * name: string
|
|
|
- * category?: {
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }
|
|
|
- * // [required]
|
|
|
- * photoUrls: string[]
|
|
|
- * tags?: Array<{
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }>
|
|
|
- * // pet status in the store
|
|
|
- * status?: 'available' | 'pending' | 'sold'
|
|
|
- * }>
|
|
|
- * ```
|
|
|
- */
|
|
|
- findPetsByTags<
|
|
|
- Config extends Alova2MethodConfig<Pet[]> & {
|
|
|
- params: {
|
|
|
- /**
|
|
|
- * Tags to filter by
|
|
|
- */
|
|
|
- tags?: string[];
|
|
|
- };
|
|
|
+ ): Alova2Method<any, "sys.updateStatus", Config>;
|
|
|
+ userDel<
|
|
|
+ Config extends Alova2MethodConfig<any> & {
|
|
|
+ params: { id: string };
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<Pet[], "pet.findPetsByTags", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [GET] Find pet by ID.
|
|
|
- *
|
|
|
- * **path:** /pet/{petId}
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Path Parameters**
|
|
|
- * ```ts
|
|
|
- * type PathParameters = {
|
|
|
- * // ID of pet to return
|
|
|
- * // [required]
|
|
|
- * petId: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * id?: number
|
|
|
- * // [required]
|
|
|
- * name: string
|
|
|
- * category?: {
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }
|
|
|
- * // [required]
|
|
|
- * photoUrls: string[]
|
|
|
- * tags?: Array<{
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }>
|
|
|
- * // pet status in the store
|
|
|
- * status?: 'available' | 'pending' | 'sold'
|
|
|
- * }
|
|
|
- * ```
|
|
|
- */
|
|
|
- getPetById<
|
|
|
- Config extends Alova2MethodConfig<Pet> & {
|
|
|
- pathParams: {
|
|
|
- /**
|
|
|
- * ID of pet to return
|
|
|
- * [required]
|
|
|
- */
|
|
|
- petId: number;
|
|
|
- };
|
|
|
+ ): Alova2Method<any, "sys.userDel", Config>;
|
|
|
+ findByDeptTree<>(): Alova2Method<any, "sys.findByDeptTree", Config>;
|
|
|
+ rolelist<>(): Alova2Method<any, "sys.rolelist", Config>;
|
|
|
+ userAdd<
|
|
|
+ Config extends Alova2MethodConfig<any> & {
|
|
|
+ data: userAdd;
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<Pet, "pet.getPetById", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [POST] Updates a pet in the store with form data.
|
|
|
- *
|
|
|
- * **path:** /pet/{petId}
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Path Parameters**
|
|
|
- * ```ts
|
|
|
- * type PathParameters = {
|
|
|
- * // ID of pet that needs to be updated
|
|
|
- * // [required]
|
|
|
- * petId: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Query Parameters**
|
|
|
- * ```ts
|
|
|
- * type QueryParameters = {
|
|
|
- * // Name of pet that needs to be updated
|
|
|
- * name?: string
|
|
|
- * // Status of pet that needs to be updated
|
|
|
- * status?: string
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * id?: number
|
|
|
- * // [required]
|
|
|
- * name: string
|
|
|
- * category?: {
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }
|
|
|
- * // [required]
|
|
|
- * photoUrls: string[]
|
|
|
- * tags?: Array<{
|
|
|
- * id?: number
|
|
|
- * name?: string
|
|
|
- * }>
|
|
|
- * // pet status in the store
|
|
|
- * status?: 'available' | 'pending' | 'sold'
|
|
|
- * }
|
|
|
- * ```
|
|
|
- */
|
|
|
- updatePetWithForm<
|
|
|
- Config extends Alova2MethodConfig<Pet> & {
|
|
|
- pathParams: {
|
|
|
- /**
|
|
|
- * ID of pet that needs to be updated
|
|
|
- * [required]
|
|
|
- */
|
|
|
- petId: number;
|
|
|
- };
|
|
|
- params: {
|
|
|
- /**
|
|
|
- * Name of pet that needs to be updated
|
|
|
- */
|
|
|
- name?: string;
|
|
|
- /**
|
|
|
- * Status of pet that needs to be updated
|
|
|
- */
|
|
|
- status?: string;
|
|
|
- };
|
|
|
+ ): Alova2Method<any, "sys.userAdd", Config>;
|
|
|
+ queryById<
|
|
|
+ Config extends Alova2MethodConfig<any> & {
|
|
|
+ data: { id: string };
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<Pet, "pet.updatePetWithForm", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [DELETE] Deletes a pet.
|
|
|
- *
|
|
|
- * **path:** /pet/{petId}
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Path Parameters**
|
|
|
- * ```ts
|
|
|
- * type PathParameters = {
|
|
|
- * // Pet id to delete
|
|
|
- * // [required]
|
|
|
- * petId: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = unknown
|
|
|
- * ```
|
|
|
- */
|
|
|
- deletePet<
|
|
|
- Config extends Alova2MethodConfig<unknown> & {
|
|
|
- pathParams: {
|
|
|
- /**
|
|
|
- * Pet id to delete
|
|
|
- * [required]
|
|
|
- */
|
|
|
- petId: number;
|
|
|
- };
|
|
|
+ ): Alova2Method<any, "sys.queryById", Config>;
|
|
|
+ userEdit<
|
|
|
+ Config extends Alova2MethodConfig<any> & {
|
|
|
+ data: userAdd;
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<unknown, "pet.deletePet", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [POST] Uploads an image.
|
|
|
- *
|
|
|
- * **path:** /pet/{petId}/uploadImage
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Path Parameters**
|
|
|
- * ```ts
|
|
|
- * type PathParameters = {
|
|
|
- * // ID of pet to update
|
|
|
- * // [required]
|
|
|
- * petId: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Query Parameters**
|
|
|
- * ```ts
|
|
|
- * type QueryParameters = {
|
|
|
- * // Additional Metadata
|
|
|
- * additionalMetadata?: string
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **RequestBody**
|
|
|
- * ```ts
|
|
|
- * type RequestBody = Blob
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * code?: number
|
|
|
- * type?: string
|
|
|
- * message?: string
|
|
|
- * }
|
|
|
- * ```
|
|
|
- */
|
|
|
- uploadFile<
|
|
|
- Config extends Alova2MethodConfig<ApiResponse> & {
|
|
|
- pathParams: {
|
|
|
- /**
|
|
|
- * ID of pet to update
|
|
|
- * [required]
|
|
|
- */
|
|
|
- petId: number;
|
|
|
- };
|
|
|
- params: {
|
|
|
- /**
|
|
|
- * Additional Metadata
|
|
|
- */
|
|
|
- additionalMetadata?: string;
|
|
|
- };
|
|
|
- data: Blob;
|
|
|
- },
|
|
|
+ ): Alova2Method<any, "sys.userEdit", Config>;
|
|
|
+ getCurrentUserDeparts<
|
|
|
+ Config extends Alova2MethodConfig<listData<deptart>> & {},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<ApiResponse, "pet.uploadFile", Config>;
|
|
|
+ ): Alova2Method<listData<deptart>, "sys.getCurrentUserDeparts", Config>;
|
|
|
};
|
|
|
- store: {
|
|
|
+ app: {
|
|
|
+ appCategory<Config extends Alova2MethodConfig<any>>(): Alova2Method<
|
|
|
+ any,
|
|
|
+ "app.appCategory",
|
|
|
+ Config
|
|
|
+ >;
|
|
|
/**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [GET] Returns pet inventories by status.
|
|
|
- *
|
|
|
- * **path:** /store/inventory
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = Record<string, number>
|
|
|
- * ```
|
|
|
- */
|
|
|
- getInventory<Config extends Alova2MethodConfig<Record<string, number>>>(
|
|
|
- config?: Config,
|
|
|
- ): Alova2Method<Record<string, number>, "store.getInventory", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [POST] Place an order for a pet.
|
|
|
- *
|
|
|
- * **path:** /store/order
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **RequestBody**
|
|
|
- * ```ts
|
|
|
- * type RequestBody = {
|
|
|
- * id?: number
|
|
|
- * petId?: number
|
|
|
- * quantity?: number
|
|
|
- * shipDate?: string
|
|
|
- * // Order Status
|
|
|
- * status?: 'placed' | 'approved' | 'delivered'
|
|
|
- * complete?: boolean
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * id?: number
|
|
|
- * petId?: number
|
|
|
- * quantity?: number
|
|
|
- * shipDate?: string
|
|
|
- * // Order Status
|
|
|
- * status?: 'placed' | 'approved' | 'delivered'
|
|
|
- * complete?: boolean
|
|
|
- * }
|
|
|
- * ```
|
|
|
+ * 拍照验课
|
|
|
+ * @param config
|
|
|
*/
|
|
|
- placeOrder<
|
|
|
- Config extends Alova2MethodConfig<Order> & {
|
|
|
- data: Order;
|
|
|
+ getPageCourse<
|
|
|
+ Config extends Alova2MethodConfig<
|
|
|
+ PaginationResponse<GetPageCourseRes[]>
|
|
|
+ > & {
|
|
|
+ data: { pageNo: number; pageSize: number; orgCode: string };
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<Order, "store.placeOrder", Config>;
|
|
|
+ ): Alova2Method<
|
|
|
+ PaginationResponse<GetPageCourseRes[]>,
|
|
|
+ "app.getPageCourse",
|
|
|
+ Config
|
|
|
+ >;
|
|
|
/**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [GET] Find purchase order by ID.
|
|
|
- *
|
|
|
- * **path:** /store/order/{orderId}
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Path Parameters**
|
|
|
- * ```ts
|
|
|
- * type PathParameters = {
|
|
|
- * // ID of order that needs to be fetched
|
|
|
- * // [required]
|
|
|
- * orderId: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * id?: number
|
|
|
- * petId?: number
|
|
|
- * quantity?: number
|
|
|
- * shipDate?: string
|
|
|
- * // Order Status
|
|
|
- * status?: 'placed' | 'approved' | 'delivered'
|
|
|
- * complete?: boolean
|
|
|
- * }
|
|
|
- * ```
|
|
|
+ * 获取课程详情
|
|
|
+ * @param config
|
|
|
*/
|
|
|
- getOrderById<
|
|
|
- Config extends Alova2MethodConfig<Order> & {
|
|
|
- pathParams: {
|
|
|
- /**
|
|
|
- * ID of order that needs to be fetched
|
|
|
- * [required]
|
|
|
- */
|
|
|
- orderId: number;
|
|
|
- };
|
|
|
+ getCourseInfo<
|
|
|
+ Config extends Alova2MethodConfig<VerifyCourseInfoDTO[]> & {
|
|
|
+ pathParams: { courseId };
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<Order, "store.getOrderById", Config>;
|
|
|
+ ): Alova2Method<VerifyCourseInfoDTO[], "app.getCourseInfo", Config>;
|
|
|
/**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [DELETE] Delete purchase order by identifier.
|
|
|
- *
|
|
|
- * **path:** /store/order/{orderId}
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Path Parameters**
|
|
|
- * ```ts
|
|
|
- * type PathParameters = {
|
|
|
- * // ID of the order that needs to be deleted
|
|
|
- * // [required]
|
|
|
- * orderId: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = unknown
|
|
|
- * ```
|
|
|
+ * 查询补课补课表
|
|
|
*/
|
|
|
- deleteOrder<
|
|
|
- Config extends Alova2MethodConfig<unknown> & {
|
|
|
- pathParams: {
|
|
|
- /**
|
|
|
- * ID of the order that needs to be deleted
|
|
|
- * [required]
|
|
|
- */
|
|
|
- orderId: number;
|
|
|
- };
|
|
|
- },
|
|
|
+ queryMakeUpClassTable<
|
|
|
+ Config extends Alova2MethodConfig<AppCoursesPriceRules> & {},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<unknown, "store.deleteOrder", Config>;
|
|
|
- };
|
|
|
- user: {
|
|
|
+ ): Alova2Method<
|
|
|
+ AppCoursesPriceRules,
|
|
|
+ "app.queryMakeUpClassTable",
|
|
|
+ Config
|
|
|
+ >;
|
|
|
/**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [POST] Create user.
|
|
|
- *
|
|
|
- * **path:** /user
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **RequestBody**
|
|
|
- * ```ts
|
|
|
- * type RequestBody = {
|
|
|
- * id?: number
|
|
|
- * username?: string
|
|
|
- * firstName?: string
|
|
|
- * lastName?: string
|
|
|
- * email?: string
|
|
|
- * password?: string
|
|
|
- * phone?: string
|
|
|
- * // User Status
|
|
|
- * userStatus?: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * id?: number
|
|
|
- * username?: string
|
|
|
- * firstName?: string
|
|
|
- * lastName?: string
|
|
|
- * email?: string
|
|
|
- * password?: string
|
|
|
- * phone?: string
|
|
|
- * // User Status
|
|
|
- * userStatus?: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
+ * 扫码核销详情
|
|
|
+ * @param config
|
|
|
*/
|
|
|
- createUser<
|
|
|
- Config extends Alova2MethodConfig<User> & {
|
|
|
- data: User;
|
|
|
+ scanCodeQueryOrder<
|
|
|
+ Config extends Alova2MethodConfig<ScanCodeQueryOrderVO> & {
|
|
|
+ params: {
|
|
|
+ orderId: string;
|
|
|
+ };
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<User, "user.createUser", Config>;
|
|
|
+ ): Alova2Method<ScanCodeQueryOrderVO, "app.scanCodeQueryOrder", Config>;
|
|
|
/**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [POST] Creates list of users with given input array.
|
|
|
- *
|
|
|
- * **path:** /user/createWithList
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **RequestBody**
|
|
|
- * ```ts
|
|
|
- * type RequestBody = Array<{
|
|
|
- * id?: number
|
|
|
- * username?: string
|
|
|
- * firstName?: string
|
|
|
- * lastName?: string
|
|
|
- * email?: string
|
|
|
- * password?: string
|
|
|
- * phone?: string
|
|
|
- * // User Status
|
|
|
- * userStatus?: number
|
|
|
- * }>
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * id?: number
|
|
|
- * username?: string
|
|
|
- * firstName?: string
|
|
|
- * lastName?: string
|
|
|
- * email?: string
|
|
|
- * password?: string
|
|
|
- * phone?: string
|
|
|
- * // User Status
|
|
|
- * userStatus?: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
+ * 确认核销
|
|
|
+ * @param config
|
|
|
*/
|
|
|
- createUsersWithListInput<
|
|
|
- Config extends Alova2MethodConfig<User> & {
|
|
|
- data: User[];
|
|
|
+ scanCodeVerification<
|
|
|
+ Config extends Alova2MethodConfig<any> & {
|
|
|
+ data: string[];
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<User, "user.createUsersWithListInput", Config>;
|
|
|
+ ): Alova2Method<any, "app.scanCodeVerification", Config>;
|
|
|
/**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [GET] Logs user into the system.
|
|
|
- *
|
|
|
- * **path:** /user/login
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Query Parameters**
|
|
|
- * ```ts
|
|
|
- * type QueryParameters = {
|
|
|
- * // The user name for login
|
|
|
- * username?: string
|
|
|
- * // The password for login in clear text
|
|
|
- * password?: string
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
*
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = string
|
|
|
- * ```
|
|
|
+ * @param config
|
|
|
+ * 评价管理
|
|
|
*/
|
|
|
- loginUser<
|
|
|
- Config extends Alova2MethodConfig<string> & {
|
|
|
+ evaluateList<
|
|
|
+ Config extends Alova2MethodConfig<PaginationResponse<Evaluate[]>> & {
|
|
|
params: {
|
|
|
- /**
|
|
|
- * The user name for login
|
|
|
- */
|
|
|
- username?: string;
|
|
|
- /**
|
|
|
- * The password for login in clear text
|
|
|
- */
|
|
|
- password?: string;
|
|
|
+ pageNo: number;
|
|
|
+ pageSize: number;
|
|
|
};
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<string, "user.loginUser", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [GET] Logs out current logged in user session.
|
|
|
- *
|
|
|
- * **path:** /user/logout
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = unknown
|
|
|
- * ```
|
|
|
- */
|
|
|
- logoutUser<Config extends Alova2MethodConfig<unknown>>(
|
|
|
- config?: Config,
|
|
|
- ): Alova2Method<unknown, "user.logoutUser", Config>;
|
|
|
- /**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [GET] Get user by user name.
|
|
|
- *
|
|
|
- * **path:** /user/{username}
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Path Parameters**
|
|
|
- * ```ts
|
|
|
- * type PathParameters = {
|
|
|
- * // The name that needs to be fetched. Use user1 for testing
|
|
|
- * // [required]
|
|
|
- * username: string
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = {
|
|
|
- * id?: number
|
|
|
- * username?: string
|
|
|
- * firstName?: string
|
|
|
- * lastName?: string
|
|
|
- * email?: string
|
|
|
- * password?: string
|
|
|
- * phone?: string
|
|
|
- * // User Status
|
|
|
- * userStatus?: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
- */
|
|
|
- getUserByName<
|
|
|
- Config extends Alova2MethodConfig<User> & {
|
|
|
- pathParams: {
|
|
|
- /**
|
|
|
- * The name that needs to be fetched. Use user1 for testing
|
|
|
- * [required]
|
|
|
- */
|
|
|
- username: string;
|
|
|
- };
|
|
|
+ ): Alova2Method<
|
|
|
+ PaginationResponse<Evaluate[]>,
|
|
|
+ "app.evaluateList",
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ evaluateEdit<
|
|
|
+ Config extends Alova2MethodConfig<any> & {
|
|
|
+ data: Evaluate;
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<User, "user.getUserByName", Config>;
|
|
|
+ ): Alova2Method<any, "app.evaluateEdit", Config>;
|
|
|
/**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [PUT] Update user resource.
|
|
|
- *
|
|
|
- * **path:** /user/{username}
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Path Parameters**
|
|
|
- * ```ts
|
|
|
- * type PathParameters = {
|
|
|
- * // name that need to be deleted
|
|
|
- * // [required]
|
|
|
- * username: string
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **RequestBody**
|
|
|
- * ```ts
|
|
|
- * type RequestBody = {
|
|
|
- * id?: number
|
|
|
- * username?: string
|
|
|
- * firstName?: string
|
|
|
- * lastName?: string
|
|
|
- * email?: string
|
|
|
- * password?: string
|
|
|
- * phone?: string
|
|
|
- * // User Status
|
|
|
- * userStatus?: number
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = unknown
|
|
|
- * ```
|
|
|
+ * 补课课表详情
|
|
|
+ * @param config
|
|
|
*/
|
|
|
- updateUser<
|
|
|
- Config extends Alova2MethodConfig<unknown> & {
|
|
|
- pathParams: {
|
|
|
- /**
|
|
|
- * name that need to be deleted
|
|
|
- * [required]
|
|
|
- */
|
|
|
- username: string;
|
|
|
+ queryListByCoursesId<
|
|
|
+ Config extends Alova2MethodConfig<webMakeClass[]> & {
|
|
|
+ params: {
|
|
|
+ coursesType: number;
|
|
|
+ id: string;
|
|
|
};
|
|
|
- data: User;
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<unknown, "user.updateUser", Config>;
|
|
|
+ ): Alova2Method<webMakeClass[], "app.queryListByCoursesId", Config>;
|
|
|
+ editPriceRules<
|
|
|
+ Config extends Alova2MethodConfig<any> & {
|
|
|
+ data: webMakeClass[];
|
|
|
+ },
|
|
|
+ >(
|
|
|
+ config: Config,
|
|
|
+ ): Alova2Method<any, "app.editPriceRules", Config>;
|
|
|
/**
|
|
|
- * ---
|
|
|
- *
|
|
|
- * [DELETE] Delete user resource.
|
|
|
- *
|
|
|
- * **path:** /user/{username}
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Path Parameters**
|
|
|
- * ```ts
|
|
|
- * type PathParameters = {
|
|
|
- * // The name that needs to be deleted
|
|
|
- * // [required]
|
|
|
- * username: string
|
|
|
- * }
|
|
|
- * ```
|
|
|
- *
|
|
|
- * ---
|
|
|
- *
|
|
|
- * **Response**
|
|
|
- * ```ts
|
|
|
- * type Response = unknown
|
|
|
- * ```
|
|
|
+ * 消息通知
|
|
|
+ * @param config
|
|
|
*/
|
|
|
- deleteUser<
|
|
|
- Config extends Alova2MethodConfig<unknown> & {
|
|
|
- pathParams: {
|
|
|
- /**
|
|
|
- * The name that needs to be deleted
|
|
|
- * [required]
|
|
|
- */
|
|
|
- username: string;
|
|
|
+ getMsg<Config extends Alova2MethodConfig<sysMsg[]> & {}>(
|
|
|
+ config: Config,
|
|
|
+ ): Alova2Method<sysMsg[], "app.getMsg", Config>;
|
|
|
+ getMsgInfo<
|
|
|
+ Config extends Alova2MethodConfig<sysMsg> & {
|
|
|
+ params: {
|
|
|
+ id: string;
|
|
|
};
|
|
|
},
|
|
|
>(
|
|
|
config: Config,
|
|
|
- ): Alova2Method<unknown, "user.deleteUser", Config>;
|
|
|
+ ): Alova2Method<sysMsg, "app.getMsgInfo", Config>;
|
|
|
+ queryKongfuZone<Config extends Alova2MethodConfig<sysRole[]> & {}>(
|
|
|
+ config: Config,
|
|
|
+ ): Alova2Method<sysRole[], "app.queryKongfuZone", Config>;
|
|
|
};
|
|
|
}
|
|
|
|
|
|
var Apis: Apis;
|
|
|
}
|
|
|
+export interface sysMsg {
|
|
|
+ id: string;
|
|
|
+ titile: string;
|
|
|
+ imgUrl: string;
|
|
|
+ sender: string;
|
|
|
+ sendTime: string;
|
|
|
+ msgContent: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface sysRole {
|
|
|
+ id: string;
|
|
|
+ name: string;
|
|
|
+ iconUrl: null;
|
|
|
+ route: string;
|
|
|
+ orderNumber: number;
|
|
|
+ izShow: string;
|
|
|
+ delFlag: number;
|
|
|
+ roleCode: string;
|
|
|
+}
|
|
|
+export interface sysStaff {
|
|
|
+ id: string;
|
|
|
+ username: string;
|
|
|
+ realname: string;
|
|
|
+ status: 0;
|
|
|
+ departName: string;
|
|
|
+ createTime: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface userAdd {
|
|
|
+ id: string;
|
|
|
+ username: string;
|
|
|
+ backgroundImg: string;
|
|
|
+ realname: string;
|
|
|
+ status: string;
|
|
|
+ password: string;
|
|
|
+ selectedroles: string;
|
|
|
+ selecteddeparts: string;
|
|
|
+ orgCode: string;
|
|
|
+ trainingPrograms: string;
|
|
|
+ teachingPhilosophy: string;
|
|
|
+ excelMsg: string;
|
|
|
+ certificateInnocence: string;
|
|
|
+ healthy: string;
|
|
|
+ honor: string;
|
|
|
+}
|
|
|
+export interface GetPageCourseRes {
|
|
|
+ /**
|
|
|
+ * 课程ID
|
|
|
+ */
|
|
|
+ appCourseId?: string;
|
|
|
+ /**
|
|
|
+ * 课时数
|
|
|
+ */
|
|
|
+ classNum?: number;
|
|
|
+ /**
|
|
|
+ * 封面
|
|
|
+ */
|
|
|
+ cover?: string;
|
|
|
+ /**
|
|
|
+ * 结束时间
|
|
|
+ */
|
|
|
+ endTime?: string;
|
|
|
+ /**
|
|
|
+ * 产品名称
|
|
|
+ */
|
|
|
+ name?: string;
|
|
|
+ /**
|
|
|
+ * 上课地址
|
|
|
+ */
|
|
|
+ siteAddress?: string;
|
|
|
+ /**
|
|
|
+ * 开始时间
|
|
|
+ */
|
|
|
+ startTime?: string;
|
|
|
+ /**
|
|
|
+ * 教练id(关联用户表)
|
|
|
+ */
|
|
|
+ userId?: string;
|
|
|
+ [property: string]: any;
|
|
|
+}
|
|
|
+
|
|
|
+export interface deptart {
|
|
|
+ address?: string;
|
|
|
+ createBy?: string;
|
|
|
+ createTime?: string;
|
|
|
+ delFlag?: string;
|
|
|
+ departName?: string;
|
|
|
+ departNameAbbr?: string;
|
|
|
+ departNameEn?: string;
|
|
|
+ departOrder?: number;
|
|
|
+ description?: string;
|
|
|
+ dingIdentifier?: string;
|
|
|
+ directorUserIds?: string;
|
|
|
+ fax?: string;
|
|
|
+ id: string;
|
|
|
+ izLeaf?: number;
|
|
|
+ memo?: string;
|
|
|
+ mobile?: string;
|
|
|
+ oldDirectorUserIds?: string;
|
|
|
+ orgCategory?: string;
|
|
|
+ orgCode: string;
|
|
|
+ orgType?: string;
|
|
|
+ parentId?: string;
|
|
|
+ qywxIdentifier?: string;
|
|
|
+ status: string;
|
|
|
+ tenantId?: number;
|
|
|
+}
|
|
|
+
|
|
|
+export interface VerifyCourseInfoDTO {
|
|
|
+ coursesId?: string;
|
|
|
+ /**
|
|
|
+ * 课程类型(0-正常 1-补课)
|
|
|
+ */
|
|
|
+ coursesType?: number;
|
|
|
+ /**
|
|
|
+ * 结束时间
|
|
|
+ */
|
|
|
+ endTime?: string;
|
|
|
+ /**
|
|
|
+ * id
|
|
|
+ */
|
|
|
+ id?: string;
|
|
|
+ /**
|
|
|
+ * 名称
|
|
|
+ */
|
|
|
+ name?: string;
|
|
|
+ /**
|
|
|
+ * 是否今日
|
|
|
+ */
|
|
|
+ orToday?: boolean;
|
|
|
+ /**
|
|
|
+ * 延课人数
|
|
|
+ */
|
|
|
+ postponeNum?: number;
|
|
|
+ /**
|
|
|
+ * 开始时间
|
|
|
+ */
|
|
|
+ startTime?: string;
|
|
|
+ /**
|
|
|
+ * 上课人数
|
|
|
+ */
|
|
|
+ totalNum?: number;
|
|
|
+ /**
|
|
|
+ * 未核销人数
|
|
|
+ */
|
|
|
+ unwrittenOffNum?: number;
|
|
|
+ /**
|
|
|
+ * 已核销人数
|
|
|
+ */
|
|
|
+ writtenOffNum?: number;
|
|
|
+ /**
|
|
|
+ * 是否完成
|
|
|
+ */
|
|
|
+ orDone: boolean;
|
|
|
+}
|
|
|
+/**
|
|
|
+ * 课程补课课表
|
|
|
+ */
|
|
|
+export interface AppCoursesPriceRules {
|
|
|
+ /**
|
|
|
+ * 课时状态
|
|
|
+ * 课时状态(0-正常 1-延期)
|
|
|
+ */
|
|
|
+ classStatus?: number;
|
|
|
+ /**
|
|
|
+ * 课程id
|
|
|
+ */
|
|
|
+ coursesId?: string;
|
|
|
+ /**
|
|
|
+ * 结束时间
|
|
|
+ * 课程类型(0-正常 1-补课)
|
|
|
+ */
|
|
|
+ coursesType?: number;
|
|
|
+ /**
|
|
|
+ * 创建人;创建人
|
|
|
+ */
|
|
|
+ createBy?: string;
|
|
|
+ /**
|
|
|
+ * 创建时间;创建时间
|
|
|
+ */
|
|
|
+ createTime?: string;
|
|
|
+ /**
|
|
|
+ * 删除标志;删除状态(0-正常,1-已删除)
|
|
|
+ */
|
|
|
+ delFlag?: number;
|
|
|
+ /**
|
|
|
+ * 结束时间
|
|
|
+ */
|
|
|
+ endTime?: string;
|
|
|
+ /**
|
|
|
+ * id
|
|
|
+ */
|
|
|
+ id?: string;
|
|
|
+ /**
|
|
|
+ * 名称
|
|
|
+ */
|
|
|
+ name?: string;
|
|
|
+ /**
|
|
|
+ * 部门id
|
|
|
+ */
|
|
|
+ orgCode?: string;
|
|
|
+ /**
|
|
|
+ * 乐观锁
|
|
|
+ */
|
|
|
+ revision?: number;
|
|
|
+ /**
|
|
|
+ * 排序
|
|
|
+ */
|
|
|
+ sort?: number;
|
|
|
+ /**
|
|
|
+ * 开始时间
|
|
|
+ */
|
|
|
+ startTime?: string;
|
|
|
+ /**
|
|
|
+ * 系统状态;状态(0-正常,1-冻结)
|
|
|
+ */
|
|
|
+ status?: number;
|
|
|
+ /**
|
|
|
+ * 租户id
|
|
|
+ */
|
|
|
+ tenantId?: string;
|
|
|
+ /**
|
|
|
+ * 更新人;更新人
|
|
|
+ */
|
|
|
+ updateBy?: string;
|
|
|
+ /**
|
|
|
+ * 更新时间;更新时间
|
|
|
+ */
|
|
|
+ updateTime?: string;
|
|
|
+ [property: string]: any;
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * 扫码核销
|
|
|
+ */
|
|
|
+export interface ScanCodeQueryOrderVO {
|
|
|
+ /**
|
|
|
+ * 商品数量
|
|
|
+ */
|
|
|
+ amount?: number;
|
|
|
+ /**
|
|
|
+ * 子订单信息
|
|
|
+ */
|
|
|
+ appOrderProInfoVerifyVOS?: AppOrderProInfoVerifyVO[];
|
|
|
+ /**
|
|
|
+ * 比赛类型 0-个人 1-团队
|
|
|
+ */
|
|
|
+ gameType?: number;
|
|
|
+ /**
|
|
|
+ * 商品价格
|
|
|
+ */
|
|
|
+ price?: number;
|
|
|
+ /**
|
|
|
+ * 商品图片
|
|
|
+ */
|
|
|
+ productImage?: string;
|
|
|
+ /**
|
|
|
+ * 商品名称
|
|
|
+ */
|
|
|
+ productName?: string;
|
|
|
+ /**
|
|
|
+ * 场馆
|
|
|
+ */
|
|
|
+ siteName?: string;
|
|
|
+ [property: string]: any;
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * org.jeecg.modules.app.vo.AppOrderProInfoVerifyVO
|
|
|
+ *
|
|
|
+ * AppOrderProInfoVerifyVO
|
|
|
+ */
|
|
|
+export interface AppOrderProInfoVerifyVO {
|
|
|
+ /**
|
|
|
+ * 子订单商品
|
|
|
+ */
|
|
|
+ appOrderProInfo: AppOrderProInfo;
|
|
|
+ /**
|
|
|
+ * 券ID
|
|
|
+ */
|
|
|
+ isinId?: string;
|
|
|
+ /**
|
|
|
+ * 券状态 1、待使用 2、已使用 3、已失效
|
|
|
+ */
|
|
|
+ isinStatus?: number;
|
|
|
+ [property: string]: any;
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * 子订单商品
|
|
|
+ *
|
|
|
+ * AppOrderProInfo
|
|
|
+ */
|
|
|
+export interface AppOrderProInfo {
|
|
|
+ /**
|
|
|
+ * 地点
|
|
|
+ */
|
|
|
+ address?: string;
|
|
|
+ /**
|
|
|
+ * 售后状态
|
|
|
+ */
|
|
|
+ afterSaleStatus?: number;
|
|
|
+ /**
|
|
|
+ * 创建人;创建人
|
|
|
+ */
|
|
|
+ createBy?: string;
|
|
|
+ /**
|
|
|
+ * 创建时间;创建时间
|
|
|
+ */
|
|
|
+ createTime?: string;
|
|
|
+ /**
|
|
|
+ * 删除标志;删除状态(0-正常,1-已删除)
|
|
|
+ */
|
|
|
+ delFlag?: number;
|
|
|
+ /**
|
|
|
+ * 使用人ID
|
|
|
+ */
|
|
|
+ familyUserId?: string;
|
|
|
+ /**
|
|
|
+ * 时间段
|
|
|
+ */
|
|
|
+ frameTimeStr?: string;
|
|
|
+ /**
|
|
|
+ * 比赛日期
|
|
|
+ */
|
|
|
+ gameTimeStr?: string;
|
|
|
+ /**
|
|
|
+ * id
|
|
|
+ */
|
|
|
+ id?: string;
|
|
|
+ /**
|
|
|
+ * 订单id
|
|
|
+ * 订单编号
|
|
|
+ */
|
|
|
+ orderCode?: string;
|
|
|
+ /**
|
|
|
+ * 订单id
|
|
|
+ */
|
|
|
+ orderId?: string;
|
|
|
+ /**
|
|
|
+ * 订单状态
|
|
|
+ */
|
|
|
+ orderStatus?: number;
|
|
|
+ /**
|
|
|
+ * 是否免费试听课(0-否 1-是)
|
|
|
+ */
|
|
|
+ orFreePro?: number;
|
|
|
+ /**
|
|
|
+ * 原价/元
|
|
|
+ */
|
|
|
+ originalPrice?: number;
|
|
|
+ /**
|
|
|
+ * 实际价格/元
|
|
|
+ */
|
|
|
+ price?: number;
|
|
|
+ /**
|
|
|
+ * 产品id;场地/赛事/课程
|
|
|
+ */
|
|
|
+ productId?: string;
|
|
|
+ /**
|
|
|
+ * 商品图片
|
|
|
+ */
|
|
|
+ productImage?: string;
|
|
|
+ /**
|
|
|
+ * 商品名称
|
|
|
+ */
|
|
|
+ productName?: string;
|
|
|
+ /**
|
|
|
+ * 数量
|
|
|
+ */
|
|
|
+ quantity?: number;
|
|
|
+ /**
|
|
|
+ * 系统状态;状态(0-正常,1-冻结)
|
|
|
+ */
|
|
|
+ status?: number;
|
|
|
+ /**
|
|
|
+ * 券号
|
|
|
+ */
|
|
|
+ ticketNo?: string;
|
|
|
+ /**
|
|
|
+ * 商品类型(1-学校 2-包场 3-无固定场 4-个人赛 5-团队赛 6-课程 7-保险)
|
|
|
+ */
|
|
|
+ type?: number;
|
|
|
+ /**
|
|
|
+ * 更新人;更新人
|
|
|
+ */
|
|
|
+ updateBy?: string;
|
|
|
+ /**
|
|
|
+ * 更新时间;更新时间
|
|
|
+ */
|
|
|
+ updateTime?: string;
|
|
|
+ /**
|
|
|
+ * 日期
|
|
|
+ */
|
|
|
+ useDateStr?: string;
|
|
|
+ /**
|
|
|
+ * 使用人
|
|
|
+ */
|
|
|
+ userName?: string;
|
|
|
+ /**
|
|
|
+ * 手机号
|
|
|
+ */
|
|
|
+ userPhone?: string;
|
|
|
+ [property: string]: any;
|
|
|
+}
|
|
|
+
|
|
|
+export interface Evaluate {
|
|
|
+ id: string;
|
|
|
+ /**
|
|
|
+ * 部门编码
|
|
|
+ */
|
|
|
+ orgCode: string;
|
|
|
+ /** 发布单位名称
|
|
|
+ *
|
|
|
+ */
|
|
|
+ departName: string;
|
|
|
+ /**
|
|
|
+ * 场地/地点
|
|
|
+ */
|
|
|
+ address: string;
|
|
|
+ /**
|
|
|
+ * 用户
|
|
|
+ */
|
|
|
+ username: string;
|
|
|
+ /**
|
|
|
+ * 用户手机号
|
|
|
+ */
|
|
|
+ phone: string;
|
|
|
+ /**
|
|
|
+ * 头像
|
|
|
+ */
|
|
|
+ avatar: string;
|
|
|
+ /**
|
|
|
+ * 评分
|
|
|
+ */
|
|
|
+ score: number;
|
|
|
+ /**
|
|
|
+ * 评价内容
|
|
|
+ */
|
|
|
+ evaluateContent: string;
|
|
|
+ /**
|
|
|
+ * 图片
|
|
|
+ */
|
|
|
+ images: string;
|
|
|
+ /**
|
|
|
+ * 审核状态;0待审核 1审核通过 2审核不通过
|
|
|
+ */
|
|
|
+ checkStatus: number;
|
|
|
+ /**
|
|
|
+ * 回复状态 0-未回复 1-已回复
|
|
|
+ */
|
|
|
+ replyStatus: number;
|
|
|
+ /**
|
|
|
+ * 回复内容
|
|
|
+ */
|
|
|
+ replyContent: string;
|
|
|
+ /**
|
|
|
+ * 回复时间
|
|
|
+ */
|
|
|
+ replyTime: string;
|
|
|
+ /**
|
|
|
+ * 业务类型;0场地 1课程
|
|
|
+ */
|
|
|
+ type: number;
|
|
|
+ createTime: string;
|
|
|
+ updateTime: string;
|
|
|
+ /** 图片列表集合
|
|
|
+ *
|
|
|
+ */
|
|
|
+ imageList: string[];
|
|
|
+ isAnonymous: number;
|
|
|
+}
|
|
|
+
|
|
|
+export interface webMakeClass {
|
|
|
+ id?: string;
|
|
|
+ coursesId: string;
|
|
|
+ name: string;
|
|
|
+ startTime: string;
|
|
|
+ endTime: string;
|
|
|
+}
|