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
363 B

const API_URL = 'https://rapi.bayekeji.com'
8 years ago
function postBilling (data, resolve) {
wx.request({
method: 'POST',
url: `${API_URL}/orders`,
data: data,
header: { 'Content-Type': 'application/json'},
success: resolve,
fail: function(){}
})
}
module.exports = {
postBilling (data, resolve) {
return postBilling(data, resolve)
}
}