|
|
@ -43,19 +43,12 @@ const userConfig = function() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export const userGetMerchantInfo = (params) => http.post(baseUrl + '/api/user/getMerchantInfo', params, userConfig()) |
|
|
export const userGetMerchantInfo = (params) => http.post(baseUrl + '/api/user/getMerchantInfo', params, userConfig()) |
|
|
|
|
|
|
|
|
export const userCreateOrder = (params) => http.post(baseUrl + '/api/user/createOrder', params, userConfig()) |
|
|
export const userCreateOrder = (params) => http.post(baseUrl + '/api/user/createOrder', params, userConfig()) |
|
|
|
|
|
|
|
|
export const userAccountInfo = () => http.post(baseUrl + '/api/user/accountInfo', {}, userConfig()) |
|
|
export const userAccountInfo = () => http.post(baseUrl + '/api/user/accountInfo', {}, userConfig()) |
|
|
|
|
|
|
|
|
export const userQueueRebateList = (params) => http.post(baseUrl + '/api/user/queueRebateList', params, userConfig()) |
|
|
export const userQueueRebateList = (params) => http.post(baseUrl + '/api/user/queueRebateList', params, userConfig()) |
|
|
|
|
|
|
|
|
export const userOrderList = (params) => http.post(baseUrl + '/api/user/orderList', params, userConfig()) |
|
|
export const userOrderList = (params) => http.post(baseUrl + '/api/user/orderList', params, userConfig()) |
|
|
|
|
|
|
|
|
export const userFillAlipayAccount = (params) => http.post(baseUrl + '/api/user/fillAlipayAccount', params, userConfig()) |
|
|
export const userFillAlipayAccount = (params) => http.post(baseUrl + '/api/user/fillAlipayAccount', params, userConfig()) |
|
|
|
|
|
|
|
|
export const userWithdraw = (params) => http.post(baseUrl + '/api/user/withdraw', params, userConfig()) |
|
|
export const userWithdraw = (params) => http.post(baseUrl + '/api/user/withdraw', params, userConfig()) |
|
|
|
|
|
|
|
|
export const userWithdrawList = (params) => http.post(baseUrl + '/api/user/withdrawList', params, userConfig()) |
|
|
export const userWithdrawList = (params) => http.post(baseUrl + '/api/user/withdrawList', params, userConfig()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -69,6 +62,10 @@ const agentConfig = function() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export const agentSmsLogin = (params) => http.post(baseUrl + '/api/agent/smsLogin', params) |
|
|
export const agentSmsLogin = (params) => http.post(baseUrl + '/api/agent/smsLogin', params) |
|
|
|
|
|
export const agentAccountInfo = (params) => http.post(baseUrl + '/api/agent/accountInfo', params, agentConfig()) |
|
|
|
|
|
export const agentFillAlipayAccount = (params) => http.post(baseUrl + '/api/agent/fillAlipayAccount', params, agentConfig()) |
|
|
|
|
|
export const agentWithdraw = (params) => http.post(baseUrl + '/api/agent/withdraw', params, agentConfig()) |
|
|
|
|
|
export const agentWithdrawList = (params) => http.post(baseUrl + '/api/agent/withdrawList', params, agentConfig()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 带上商户token
|
|
|
// 带上商户token
|
|
|
@ -81,14 +78,10 @@ const merchantConfig = function() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export const merchantSmsLogin = (params) => http.post(baseUrl + '/api/merchant/smsLogin', params) |
|
|
export const merchantSmsLogin = (params) => http.post(baseUrl + '/api/merchant/smsLogin', params) |
|
|
|
|
|
|
|
|
export const merchantAccountInfo = (params) => http.post(baseUrl + '/api/merchant/accountInfo', params, merchantConfig()) |
|
|
export const merchantAccountInfo = (params) => http.post(baseUrl + '/api/merchant/accountInfo', params, merchantConfig()) |
|
|
|
|
|
|
|
|
export const merchantOrderList = (params) => http.post(baseUrl + '/api/merchant/orderList', params, merchantConfig()) |
|
|
export const merchantOrderList = (params) => http.post(baseUrl + '/api/merchant/orderList', params, merchantConfig()) |
|
|
|
|
|
|
|
|
export const merchantOrderRefund = (params) => http.post(baseUrl + '/api/merchant/orderRefund', params, merchantConfig()) |
|
|
export const merchantOrderRefund = (params) => http.post(baseUrl + '/api/merchant/orderRefund', params, merchantConfig()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const publicSysConfig = (params) => http.post(baseUrl + '/api/public/sysConfig', params) |
|
|
export const publicSysConfig = (params) => http.post(baseUrl + '/api/public/sysConfig', params) |
|
|
|
|
|
|
|
|
export const publicSendSms = (params) => http.post(baseUrl + '/api/public/sendSms', params) |
|
|
export const publicSendSms = (params) => http.post(baseUrl + '/api/public/sendSms', params) |