|
@@ -20,7 +20,7 @@ const baseUrl =
|
|
|
const myPhone = new Phone();
|
|
|
const request = axios.create();
|
|
|
//@ts-ignore
|
|
|
-window.iosOrder = (goodsId: string, userInfoStr: string) => {
|
|
|
+window.iosOrder = (goodsId: string, userInfoStr: string,goodsType:string) => {
|
|
|
let userInfoObj: iosOrderUserInfo = JSON.parse(userInfoStr);
|
|
|
//这是没审核的时候
|
|
|
if (Number(userInfoObj.apsw) == 0) {
|
|
@@ -40,6 +40,7 @@ window.iosOrder = (goodsId: string, userInfoStr: string) => {
|
|
|
goodsType: 2,
|
|
|
userId: userInfoObj.id,
|
|
|
phoneType: myPhone.isIos() ? 1 : 2,
|
|
|
+ goodsType:goodsType
|
|
|
},
|
|
|
}).then((res: any) => {
|
|
|
if (res.data.code == 200) {
|
|
@@ -69,6 +70,7 @@ window.iosOrder = (goodsId: string, userInfoStr: string) => {
|
|
|
goodsType: 2,
|
|
|
phoneType: myPhone.isIos() ? 1 : 2,
|
|
|
userId: userInfoObj.id,
|
|
|
+ goodsType:goodsType
|
|
|
},
|
|
|
}).then((res: any) => {
|
|
|
if (res.data.code == 200) {
|