build auth sms
This commit is contained in:
parent
1cacdae547
commit
7e433426cb
|
@ -0,0 +1,5 @@
|
||||||
|
package model
|
||||||
|
|
||||||
|
type WithdrawSupplierCashReq struct {
|
||||||
|
SupplierID string `json:"supplierId"`
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
package model
|
||||||
|
|
||||||
|
type WithdrawSupplierCashRes struct {
|
||||||
|
PendingCash float64 `json:"pendingCash"`
|
||||||
|
SuccessCash float64 `json:"successCash"`
|
||||||
|
RejectCash float64 `json:"rejectCash"`
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
package subject
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
func getWithdrawValue(val string) string {
|
||||||
|
return fmt.Sprintf("%s.%s", prefixes.Withdraw, val)
|
||||||
|
}
|
||||||
|
|
||||||
|
var Withdraw = struct {
|
||||||
|
GetSupplierCash string
|
||||||
|
}{
|
||||||
|
GetSupplierCash: getWithdrawValue("get_supplier_cash"),
|
||||||
|
}
|
Loading…
Reference in New Issue