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.

18 lines
386 B

const app = getApp()
8 years ago
function postBilling (data, resolve) {
app.authRequest({
8 years ago
method: 'POST',
8 years ago
url: `${app.globalData.API_URL}/orders/create_applet_order`,
data: data || {},
8 years ago
header: { 'Content-Type': 'application/json'},
success: resolve,
fail: function(){}
})
}
module.exports = {
postBilling (data, resolve) {
return postBilling(data, resolve)
}
}