2023-04-02 01:01:56 +08:00
|
|
|
/**
|
|
|
|
* 注册
|
|
|
|
*/
|
|
|
|
export type RegisterForm = {
|
2023-04-03 00:05:09 +08:00
|
|
|
tenantId: string;
|
|
|
|
username: string;
|
|
|
|
password: string;
|
|
|
|
confirmPassword?: string;
|
|
|
|
code?: string;
|
|
|
|
uuid?: string;
|
|
|
|
userType?: string;
|
2023-04-02 01:01:56 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 登录请求
|
|
|
|
*/
|
|
|
|
export interface LoginData {
|
2023-07-01 16:24:48 +08:00
|
|
|
tenantId?: string;
|
|
|
|
username?: string;
|
|
|
|
password?: string;
|
2023-04-03 00:05:09 +08:00
|
|
|
rememberMe?: boolean;
|
2023-07-13 12:40:37 +00:00
|
|
|
socialCode?: string;
|
|
|
|
socialState?: string;
|
|
|
|
source?: string;
|
2023-04-03 00:05:09 +08:00
|
|
|
code?: string;
|
|
|
|
uuid?: string;
|
2023-06-16 20:32:46 +08:00
|
|
|
clientId: string;
|
|
|
|
grantType: string;
|
2023-04-02 01:01:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 登录响应
|
|
|
|
*/
|
|
|
|
export interface LoginResult {
|
2023-06-16 20:32:46 +08:00
|
|
|
access_token: string;
|
2023-04-02 01:01:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 验证码返回
|
|
|
|
*/
|
|
|
|
export interface VerifyCodeResult {
|
2023-04-03 00:05:09 +08:00
|
|
|
captchaEnabled: boolean;
|
|
|
|
uuid?: string;
|
|
|
|
img?: string;
|
2023-04-02 01:01:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 租户
|
|
|
|
*/
|
|
|
|
export interface TenantVO {
|
2023-04-03 00:05:09 +08:00
|
|
|
companyName: string;
|
|
|
|
domain: any;
|
|
|
|
tenantId: string;
|
2023-04-02 01:01:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface TenantInfo {
|
2023-04-03 00:05:09 +08:00
|
|
|
tenantEnabled: boolean;
|
|
|
|
voList: TenantVO[];
|
2023-04-02 01:01:56 +08:00
|
|
|
}
|
2025-06-30 15:55:00 +08:00
|
|
|
|
|
|
|
export interface top20Stores {
|
|
|
|
company_name: string;
|
|
|
|
sales: number;
|
|
|
|
total_amount: string;
|
|
|
|
}
|
|
|
|
export interface top20Product {
|
|
|
|
name: string;
|
|
|
|
price: string;
|
|
|
|
sales: number;
|
|
|
|
total_amount: string;
|
|
|
|
}
|
|
|
|
export interface monthlyIncomeExpense {
|
|
|
|
expense_amount: string;
|
|
|
|
income_amount: string;
|
|
|
|
month: string;
|
|
|
|
}
|
|
|
|
export interface monthlyUserVolume {
|
|
|
|
addCartMemberCount: string;
|
|
|
|
dealMemberCount: string;
|
|
|
|
loginMemberCount: string;
|
|
|
|
month: string;
|
|
|
|
registerMemberCount: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface monthlyVlog {
|
|
|
|
month: string;
|
|
|
|
vlog_count: number;
|
|
|
|
}
|
|
|
|
//首页
|
|
|
|
export interface indexObjOV {
|
|
|
|
StoreAudit: number;
|
|
|
|
WithdrawCount: number;
|
|
|
|
feedbackCount: number;
|
|
|
|
memberCount: number;
|
|
|
|
orderAudit: string;
|
|
|
|
orderCount: number;
|
|
|
|
productAudit: string;
|
|
|
|
productCount: number;
|
|
|
|
storeCount: number;
|
|
|
|
vlogCount: number;
|
|
|
|
top20Product: top20Product[];
|
|
|
|
top20Stores: top20Stores[];
|
|
|
|
monthlyIncomeExpense: monthlyIncomeExpense[];
|
|
|
|
monthlyUserVolume: monthlyUserVolume[];
|
|
|
|
monthlyVlog: monthlyVlog[];
|
|
|
|
}
|