feat(card-walmart-account): 添加创建者用户名字段

- 在沃尔玛卡添加记录接口中增加 createdUserName 字段
- 更新 API 文档注释
This commit is contained in:
danial
2025-03-13 00:25:48 +08:00
parent 85b44c5a0d
commit 3dcff74ee8
4 changed files with 32 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ export interface walmartCardAddRecord {
maxAmountLimit: number;
wsKey?: string;
remark?: string;
createdUserName?: string;
}
export interface walmartCardUpdateRecord

View File

@@ -4839,6 +4839,7 @@ export const DefaultApiAxiosParamCreator = function (
* @param {string} [name] 账户名称
* @param {string} [nickName] 用户昵称
* @param {string} [cookie]
* @param {string} [createdUserName] 创建用户昵称
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -4848,6 +4849,7 @@ export const DefaultApiAxiosParamCreator = function (
name?: string,
nickName?: string,
cookie?: string,
createdUserName?: string,
options: RawAxiosRequestConfig = {}
): Promise<RequestArgs> => {
// verify required parameter 'current' is not null or undefined
@@ -4898,6 +4900,10 @@ export const DefaultApiAxiosParamCreator = function (
localVarQueryParameter['cookie'] = cookie;
}
if (createdUserName !== undefined) {
localVarQueryParameter['CreatedUserName'] = createdUserName;
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions =
baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -12634,6 +12640,7 @@ export const DefaultApiFp = function (configuration?: Configuration) {
* @param {string} [name] 账户名称
* @param {string} [nickName] 用户昵称
* @param {string} [cookie]
* @param {string} [createdUserName] 创建用户昵称
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -12643,6 +12650,7 @@ export const DefaultApiFp = function (configuration?: Configuration) {
name?: string,
nickName?: string,
cookie?: string,
createdUserName?: string,
options?: RawAxiosRequestConfig
): Promise<
(
@@ -12657,6 +12665,7 @@ export const DefaultApiFp = function (configuration?: Configuration) {
name,
nickName,
cookie,
createdUserName,
options
);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -17443,6 +17452,7 @@ export const DefaultApiFactory = function (
* @param {string} [name] 账户名称
* @param {string} [nickName] 用户昵称
* @param {string} [cookie]
* @param {string} [createdUserName] 创建用户昵称
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -17452,6 +17462,7 @@ export const DefaultApiFactory = function (
name?: string,
nickName?: string,
cookie?: string,
createdUserName?: string,
options?: RawAxiosRequestConfig
): AxiosPromise<KamiApiCardInfoWalmartV1AccountListRes> {
return localVarFp
@@ -17461,6 +17472,7 @@ export const DefaultApiFactory = function (
name,
nickName,
cookie,
createdUserName,
options
)
.then(request => request(axios, basePath));
@@ -20893,6 +20905,7 @@ export class DefaultApi extends BaseAPI {
* @param {string} [name] 账户名称
* @param {string} [nickName] 用户昵称
* @param {string} [cookie]
* @param {string} [createdUserName] 创建用户昵称
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
@@ -20903,6 +20916,7 @@ export class DefaultApi extends BaseAPI {
name?: string,
nickName?: string,
cookie?: string,
createdUserName?: string,
options?: RawAxiosRequestConfig
) {
return DefaultApiFp(this.configuration)
@@ -20912,6 +20926,7 @@ export class DefaultApi extends BaseAPI {
name,
nickName,
cookie,
createdUserName,
options
)
.then(request => request(this.axios, this.basePath));

View File

@@ -48,6 +48,12 @@ export interface KamiApiCardInfoWalmartV1AccountListReq {
* @memberof KamiApiCardInfoWalmartV1AccountListReq
*/
cookie?: string;
/**
* 创建用户昵称
* @type {string}
* @memberof KamiApiCardInfoWalmartV1AccountListReq
*/
CreatedUserName?: string;
}
export const KamiApiCardInfoWalmartV1AccountListReqPageSizeEnum = {

View File

@@ -32,6 +32,14 @@
/>
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item field="createdUserName" label="用户昵称">
<a-input
v-model="formModel.createdUserName"
placeholder="请输入上传用户昵称"
/>
</a-form-item>
</a-col>
</a-row>
</a-form>
</a-col>
@@ -281,7 +289,8 @@ const generateFormModel = () => {
cookie: '',
nickname: '',
maxAmountLimit: 0,
status: 1
status: 1,
createdUserName: ''
};
};
const { loading, setLoading } = useLoading(true);