diff --git a/src/common/apis/shop/type.ts b/src/common/apis/shop/type.ts index 9f3314d..41c9525 100644 --- a/src/common/apis/shop/type.ts +++ b/src/common/apis/shop/type.ts @@ -16,10 +16,21 @@ export type category = { } export interface SubmitOrderRequestData { + /** 微信用户唯一标识 */ openid: string; + /** 系统用户ID */ userid: string; + /** 企业ID */ corpid: string; + /** 支付类型 wechat:微信 balance:余额 */ paymentType: 'wechat' | 'balance'; + /** 联系电话 */ + mobile: string; + /** 企业微信用户ID或汇邦云用户ID */ + qyUserid: string; + /** 是否内部订单 0否 1汇邦云用户 2企业微信用户 */ + isInternal: number; + /** 订单商品明细列表 */ goodsList: Array<{ goodsId: number quantity: number diff --git a/src/pages/product/components/checkout.vue b/src/pages/product/components/checkout.vue index b393938..c36a50a 100644 --- a/src/pages/product/components/checkout.vue +++ b/src/pages/product/components/checkout.vue @@ -1,6 +1,7 @@