Merge branch 'build-auth-sms' of git.selly.red:Selly-Modules/natsio into develop
This commit is contained in:
commit
15fd01d5d3
|
@ -17,3 +17,10 @@ type RoleBrief struct {
|
||||||
type CreateRoleResponse struct {
|
type CreateRoleResponse struct {
|
||||||
ID string `json:"_id"`
|
ID string `json:"_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type RoleShort struct {
|
||||||
|
ID string `json:"_id"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
Code string `json:"code"`
|
||||||
|
Type string `json:"type"`
|
||||||
|
}
|
||||||
|
|
|
@ -7,8 +7,8 @@ type GetListOwnerResponse struct {
|
||||||
|
|
||||||
type SupplierUserBrief struct {
|
type SupplierUserBrief struct {
|
||||||
ID string `json:"_id"`
|
ID string `json:"_id"`
|
||||||
Role RoleBrief `json:"role"`
|
Role RoleShort `json:"role"`
|
||||||
Supplier SupplierShort `json:"supplier"`
|
SupplierID string `json:"supplierId"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Phone string `json:"phone"`
|
Phone string `json:"phone"`
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
|
|
Loading…
Reference in New Issue