清楚默认选择的上号方式
This commit is contained in:
@@ -139,7 +139,7 @@ func (s *Service) FindMine(ownerID uint64, id uint64) (*ListingDTO, error) {
|
||||
}
|
||||
|
||||
func validateRequest(req CreateRequest) error {
|
||||
if req.Title == "" || req.ServerRegion == "" || req.LoginPlatform == "" {
|
||||
if req.Title == "" || req.ServerRegion == "" {
|
||||
return ErrInvalidInput
|
||||
}
|
||||
if req.PriceHourly <= 0 || req.DepositAmount < 0 {
|
||||
|
||||
Reference in New Issue
Block a user