💥 feat(模块): 赠送会员
This commit is contained in:
@ -48,7 +48,7 @@ const TableList: React.FC = () => {
|
||||
const columns: ProColumns<API.GiveVipListItem>[] = [
|
||||
{
|
||||
title: '用户ID',
|
||||
dataIndex: 'imOpenId',
|
||||
dataIndex: 'userId',
|
||||
valueType: 'textarea',
|
||||
search: true,
|
||||
},
|
||||
@ -129,7 +129,7 @@ const TableList: React.FC = () => {
|
||||
onOpenChange={handleUpdateModalOpen}
|
||||
onFinish={async formData => {
|
||||
const params: API.PostGiveVip = {
|
||||
imOpenId: formData.imOpenId,
|
||||
userId: formData.userId,
|
||||
userPhone: formData.userPhone,
|
||||
productType: formData.productType,
|
||||
productSpecId: formData.productSpecId,
|
||||
|
||||
4
src/services/typings.d.ts
vendored
4
src/services/typings.d.ts
vendored
@ -385,7 +385,7 @@ declare namespace API {
|
||||
|
||||
interface GiveVipListItem {
|
||||
id: number;
|
||||
imOpenId: string;
|
||||
userId: string;
|
||||
userPhone: string;
|
||||
productType: ProductType;
|
||||
productSpecId: string;
|
||||
@ -396,7 +396,7 @@ declare namespace API {
|
||||
}
|
||||
|
||||
interface PostGiveVip {
|
||||
imOpenId: string;
|
||||
userId: string;
|
||||
userPhone?: string;
|
||||
productType?: ProductType;
|
||||
productSpecId?: string;
|
||||
|
||||
Reference in New Issue
Block a user