forked from free-lancers/electricity_bill_calc_service
		
	fix(park):获取园区列表现在默认返回空列表。
This commit is contained in:
		| @@ -13,7 +13,7 @@ type _ParkRepository struct{} | ||||
| var ParkRepo _ParkRepository | ||||
|  | ||||
| func (_ParkRepository) ListAllParkBelongsTo(uid string) ([]model.Park, error) { | ||||
| 	var parks []model.Park | ||||
| 	parks := make([]model.Park, 0) | ||||
| 	err := global.DBConn. | ||||
| 		Where(builder.Eq{"user_id": uid}). | ||||
| 		NoAutoCondition(). | ||||
|   | ||||
		Reference in New Issue
	
	Block a user