You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
414 B
19 lines
414 B
const app = getApp() |
|
|
|
function postBilling (data, resolve) { |
|
data['token'] = app.globalData.token |
|
wx.request({ |
|
method: 'POST', |
|
url: `${app.globalData.API_URL}/orders/create_applet_order`, |
|
data: data, |
|
header: { 'Content-Type': 'application/json'}, |
|
success: resolve, |
|
fail: function(){} |
|
}) |
|
} |
|
|
|
module.exports = { |
|
postBilling (data, resolve) { |
|
return postBilling(data, resolve) |
|
} |
|
} |