You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
366 B
16 lines
366 B
package operation |
|
|
|
import "go-common/app/service/main/archive/api" |
|
|
|
// Promote strcuct |
|
type Promote struct { |
|
IsAd int8 `json:"is_ad"` |
|
Archive *api.Arc `json:"archive"` |
|
} |
|
|
|
// ArgPromote strcuct |
|
type ArgPromote struct { |
|
Tp string `form:"tp" validate:"required"` |
|
Count int `form:"count" validate:"min=0"` |
|
Rank int `form:"rank" validate:"min=0"` |
|
}
|
|
|