修复:图形验证码大写不识别

修复:按商户ID查询订单、商品、分类等
This commit is contained in:
2024-09-23 01:08:24 +08:00
parent 228cacdf2a
commit 625568eb41
30 changed files with 2069 additions and 118 deletions

View File

@@ -78,6 +78,7 @@ export interface Merchant {
export interface MerchantParam extends PageParam {
merchantId?: number;
merchantIds?: string;
phone?: string;
merchantCodes?: string;
keywords?: string;
}

View File

@@ -115,5 +115,11 @@ export interface Order {
*/
export interface OrderParam extends PageParam {
orderId?: number;
type?: number;
payStatus?: string;
week?: number;
payType?: string;
isInvoice?: string;
orderStatus?: string;
keywords?: string;
}

View File

@@ -1,12 +1,16 @@
import request from '@/utils/request';
import type { ApiResult } from '@/api';
import type { User } from './model';
import { SERVER_API_URL } from '@/config/setting';
/**
* 修改当前登录用户信息
*/
export async function authUser(data: User) {
const res = await request.put<ApiResult<unknown>>('/auth/user', data);
const res = await request.put<ApiResult<unknown>>(
SERVER_API_URL + '/auth/user',
data
);
if (res.data.code === 0) {
return res.data.message;
}

View File

@@ -34,6 +34,10 @@ export interface User {
sexName?: string;
// 机构名称
organizationName?: string;
// 商户ID
merchantId?: number;
// 商户名称
merchantName?: string;
// 创建时间
createTime?: string;
}