|
@@ -1,5 +1,7 @@
|
|
|
import {get, post, put, del} from '../http'
|
|
import {get, post, put, del} from '../http'
|
|
|
|
|
|
|
|
|
|
+const prefix = "dawn/api/v1/"
|
|
|
|
|
+
|
|
|
const financial = {
|
|
const financial = {
|
|
|
getTransactionsPages(data) {
|
|
getTransactionsPages(data) {
|
|
|
return post('financial/getChargingTransactions', data)
|
|
return post('financial/getChargingTransactions', data)
|
|
@@ -71,26 +73,29 @@ const financial = {
|
|
|
return post("financial/account-settlement/redo-account-settlement", data)
|
|
return post("financial/account-settlement/redo-account-settlement", data)
|
|
|
},
|
|
},
|
|
|
getBillingTypeOptions() {
|
|
getBillingTypeOptions() {
|
|
|
- return get("dawn/api/v1/billing-type-select")
|
|
|
|
|
|
|
+ return get(prefix + "billing-type-select")
|
|
|
|
|
+ },
|
|
|
|
|
+ getPaymentTypeOptions() {
|
|
|
|
|
+ return get(prefix + "payment-method-select")
|
|
|
},
|
|
},
|
|
|
/*信用余额操作部分-Start*/
|
|
/*信用余额操作部分-Start*/
|
|
|
getCreditActionTypeOptions() {
|
|
getCreditActionTypeOptions() {
|
|
|
- return get("dawn/api/v1/credit-action-type-select")
|
|
|
|
|
|
|
+ return get(prefix + "credit-action-type-select")
|
|
|
},
|
|
},
|
|
|
getCreditStatusOptions() {
|
|
getCreditStatusOptions() {
|
|
|
- return get("dawn/api/v1/credit_action_status-select")
|
|
|
|
|
|
|
+ return get(prefix + "credit_action_status-select")
|
|
|
},
|
|
},
|
|
|
getCreaitActionPages(data) {
|
|
getCreaitActionPages(data) {
|
|
|
- return post("dawn/api/v1/credit-action-pages", data)
|
|
|
|
|
|
|
+ return post(prefix + "credit-action-pages", data)
|
|
|
},
|
|
},
|
|
|
createCreditApply(data) {
|
|
createCreditApply(data) {
|
|
|
- return post("dawn/api/v1/credit-action-application", data)
|
|
|
|
|
|
|
+ return post(prefix + "credit-action-application", data)
|
|
|
},
|
|
},
|
|
|
approveCreditApply(data) {
|
|
approveCreditApply(data) {
|
|
|
- return put("dawn/api/v1/credit-action-application", data)
|
|
|
|
|
|
|
+ return put(prefix + "credit-action-application", data)
|
|
|
},
|
|
},
|
|
|
viewCreditApply(creditActionId) {
|
|
viewCreditApply(creditActionId) {
|
|
|
- return get("dawn/api/v1/credit-action-application/" + creditActionId)
|
|
|
|
|
|
|
+ return get(prefix + "credit-action-application/" + creditActionId)
|
|
|
}
|
|
}
|
|
|
/*信用余额操作部分-End*/
|
|
/*信用余额操作部分-End*/
|
|
|
}
|
|
}
|