Merge branch 'refactor-supplier' of git.selly.red:Selly-Modules/natsio into develop
This commit is contained in:
commit
c95d28870f
|
@ -23,14 +23,6 @@ type SupplierRequestPayload struct {
|
||||||
ContractStatus string
|
ContractStatus string
|
||||||
}
|
}
|
||||||
|
|
||||||
type SyncSupplierWarehousePayload struct {
|
|
||||||
Supplier string `json:"supplier"`
|
|
||||||
Warehouse string `json:"warehouse"`
|
|
||||||
ProvinceCode int `json:"provinceCode"`
|
|
||||||
DistrictCode int `json:"districtCode"`
|
|
||||||
WardCode int `json:"wardCode"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// SupplierCashflowCreatePayload ...
|
// SupplierCashflowCreatePayload ...
|
||||||
type SupplierCashflowCreatePayload struct {
|
type SupplierCashflowCreatePayload struct {
|
||||||
Supplier string `json:"supplier"`
|
Supplier string `json:"supplier"`
|
||||||
|
|
|
@ -72,3 +72,11 @@ type SupplierUpdateBalanceRes struct {
|
||||||
type SupplierGetCurrentBalanceRes struct {
|
type SupplierGetCurrentBalanceRes struct {
|
||||||
CurrentCash float64 `json:"currentCash"`
|
CurrentCash float64 `json:"currentCash"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type SyncSupplierWarehousePayload struct {
|
||||||
|
Supplier string `json:"supplier"`
|
||||||
|
Warehouse string `json:"warehouse"`
|
||||||
|
ProvinceCode int `json:"provinceCode"`
|
||||||
|
DistrictCode int `json:"districtCode"`
|
||||||
|
WardCode int `json:"wardCode"`
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue