This commit is contained in:
@@ -22,10 +22,8 @@ export const orderApi = {
|
||||
},
|
||||
|
||||
create(identifier, package_ids, payment_method) {
|
||||
const data = { identifier, package_ids };
|
||||
if (payment_method === 'alipay') {
|
||||
data.payment_method = payment_method;
|
||||
} else {
|
||||
const data = { identifier, package_ids, payment_method };
|
||||
if (payment_method === 'wechat') {
|
||||
data.app_type = APP_TYPE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user