feat: add Flutter mobile clients and staff delivery API

This commit is contained in:
david
2026-07-30 21:47:41 +08:00
parent 550efb3812
commit 36a5ced1c0
228 changed files with 17159 additions and 22 deletions

View File

@@ -65,7 +65,7 @@ func MockData(database *gorm.DB) error {
staff := models.StaffAccount{
Entity: entity(5, common.StatusEnable), Username: "mock_driver", PasswordHash: string(passwordHash),
Name: "王师傅", Phone: "13900000001", RoleCode: "driver",
Name: "王师傅", Phone: "13900000001", RoleCode: "delivery",
GasBasicID: gas.ID, DeliveryBasicID: delivery.ID, WorkStatus: "on_duty",
}
if err := put(tx, &staff); err != nil {