/**
 * @author chengliang
 * @date 2026/1/12 21:16
 * @brief
 *
 **/

package service

type TGetVersionReq struct {
	Proj string `form:"proj" binding:"required" json:"proj"`
	Os   string `form:"os" binding:"required" json:"os"`
}

type TGetVersionRsp struct {
	Version           string `json:"version"`
	PackageUrl        string `json:"packageUrl"`
	RemoteManifestUrl string `json:"remoteManifestUrl"`
	RemoteVersionUrl  string `json:"remoteVersionUrl"`
}

type TAddVersionReq struct {
	Proj              string `form:"proj" binding:"required" json:"proj"`
	Os                string `form:"os" binding:"required" json:"os"`
	Version           string `form:"version" binding:"required" json:"version"`
	PackageUrl        string `form:"packageUrl" binding:"required" json:"packageUrl"`
	RemoteManifestUrl string `form:"remoteManifestUrl" binding:"required" json:"remoteManifestUrl"`
	RemoteVersionUrl  string `form:"remoteVersionUrl" binding:"required" json:"remoteVersionUrl"`
}
