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