diff --git a/api/order.js b/api/order.js index 19be08c..aee577b 100644 --- a/api/order.js +++ b/api/order.js @@ -50,5 +50,8 @@ export function pay(orderId, payType, param) { // order query export function ordquery(data){ - return request.post(api.ordquery,data,{contentType: "application/x-www-form-urlencoded;charset=UTF-8"}) + let option={header:{ + "Content-Type":"application/x-www-form-urlencoded;charset=UTF-8" + }} + return request.post(api.ordquery,data,option) } \ No newline at end of file