示例#1
0
文件: routes.go 项目: joho/firesize
func (_ tRegistrations) Create(
	account interface{},
	verifyEmail string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "account", account)
	revel.Unbind(args, "verifyEmail", verifyEmail)
	return revel.MainRouter.Reverse("Registrations.Create", args).Url
}
示例#2
0
文件: routes.go 项目: 11101171/whale
func (_ tTasks) TaskOperate(
	id string,
	task interface{},
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	revel.Unbind(args, "task", task)
	return revel.MainRouter.Reverse("Tasks.TaskOperate", args).Url
}
示例#3
0
文件: routes.go 项目: 11101171/whale
func (_ tTestRunner) Run(
	suite string,
	test string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "suite", suite)
	revel.Unbind(args, "test", test)
	return revel.MainRouter.Reverse("TestRunner.Run", args).Url
}
示例#4
0
func (_ tLabel) Like(
	sid string,
	ids string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "sid", sid)
	revel.Unbind(args, "ids", ids)
	return revel.MainRouter.Reverse("Label.Like", args).Url
}
示例#5
0
文件: routes.go 项目: 11101171/whale
func (_ tServers) Operate(
	id string,
	server interface{},
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	revel.Unbind(args, "server", server)
	return revel.MainRouter.Reverse("Servers.Operate", args).Url
}
示例#6
0
func (_ tAdmin) GetAllStat(
	sid string,
	date string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "sid", sid)
	revel.Unbind(args, "date", date)
	return revel.MainRouter.Reverse("Admin.GetAllStat", args).Url
}
示例#7
0
func (_ tTopic) UnLike(
	sid string,
	id int64,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "sid", sid)
	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("Topic.UnLike", args).Url
}
示例#8
0
文件: routes.go 项目: xeb/flowdle
func (_ tTasks) Complete(
	id int,
	complete bool,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	revel.Unbind(args, "complete", complete)
	return revel.MainRouter.Reverse("Tasks.Complete", args).Url
}
示例#9
0
文件: routes.go 项目: baiyuxiong/lms
func (_ tApp) DoCheckLeave(
	id int,
	action string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	revel.Unbind(args, "action", action)
	return revel.MainRouter.Reverse("App.DoCheckLeave", args).Url
}
示例#10
0
文件: routes.go 项目: qtzheng/SIMP
func (_ tSystem) RoleFunc(
	roleID string,
	moduleID string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "roleID", roleID)
	revel.Unbind(args, "moduleID", moduleID)
	return revel.MainRouter.Reverse("System.RoleFunc", args).Url
}
示例#11
0
func (_ tUsers) Login(
	login string,
	password string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "login", login)
	revel.Unbind(args, "password", password)
	return revel.MainRouter.Reverse("Users.Login", args).Url
}
示例#12
0
func (_ tAccountGroupController) Delete(
	accountId int64,
	id int64,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "accountId", accountId)
	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("AccountGroupController.Delete", args).Url
}
示例#13
0
func (_ tProjectController) One(
	accountId int64,
	id int64,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "accountId", accountId)
	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("ProjectController.One", args).Url
}
示例#14
0
func (_ tDataStreamGroupController) FindByProject(
	accountId int64,
	projectId int64,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "accountId", accountId)
	revel.Unbind(args, "projectId", projectId)
	return revel.MainRouter.Reverse("DataStreamGroupController.FindByProject", args).Url
}
示例#15
0
func (_ tAccount) Login(
	username string,
	password string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "username", username)
	revel.Unbind(args, "password", password)
	return revel.MainRouter.Reverse("Account.Login", args).Url
}
示例#16
0
文件: routes.go 项目: baiyuxiong/lms
func (_ tAdmin) ListUser(
	limit int,
	offset int,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "limit", limit)
	revel.Unbind(args, "offset", offset)
	return revel.MainRouter.Reverse("Admin.ListUser", args).Url
}
示例#17
0
func (_ tAccount) ChangePassword(
	sid string,
	password string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "sid", sid)
	revel.Unbind(args, "password", password)
	return revel.MainRouter.Reverse("Account.ChangePassword", args).Url
}
func (_ tApp) UserDelete(
	region string,
	summonerId string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "region", region)
	revel.Unbind(args, "summonerId", summonerId)
	return revel.MainRouter.Reverse("App.UserDelete", args).Url
}
示例#19
0
func (_ tAdmin) RemoveTopics(
	sid string,
	ids string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "sid", sid)
	revel.Unbind(args, "ids", ids)
	return revel.MainRouter.Reverse("Admin.RemoveTopics", args).Url
}
func (_ tApp) GameDelete(
	platformId string,
	gameId string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "platformId", platformId)
	revel.Unbind(args, "gameId", gameId)
	return revel.MainRouter.Reverse("App.GameDelete", args).Url
}
示例#21
0
func (_ tLabel) GetList(
	page int,
	limit int,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "page", page)
	revel.Unbind(args, "limit", limit)
	return revel.MainRouter.Reverse("Label.GetList", args).Url
}
func (_ tApp) Summoner(
	region string,
	summonerName string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "region", region)
	revel.Unbind(args, "summonerName", summonerName)
	return revel.MainRouter.Reverse("App.Summoner", args).Url
}
示例#23
0
文件: routes.go 项目: 11101171/whale
func (_ tAgents) Operate(
	id string,
	agent interface{},
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	revel.Unbind(args, "agent", agent)
	return revel.MainRouter.Reverse("Agents.Operate", args).Url
}
func (_ tApp) Metadata(
	region string,
	id string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "region", region)
	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("App.Metadata", args).Url
}
示例#25
0
文件: routes.go 项目: 11101171/whale
func (_ tServers) Encode(
	serverId string,
	apiParamId string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "serverId", serverId)
	revel.Unbind(args, "apiParamId", apiParamId)
	return revel.MainRouter.Reverse("Servers.Encode", args).Url
}
示例#26
0
func (_ tApiServers) Action(
	method string,
	id string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "method", method)
	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("ApiServers.Action", args).Url
}
示例#27
0
文件: routes.go 项目: 11101171/whale
func (_ tTasks) AjaxTaskLogList(
	page int,
	pageSize int,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "page", page)
	revel.Unbind(args, "pageSize", pageSize)
	return revel.MainRouter.Reverse("Tasks.AjaxTaskLogList", args).Url
}
示例#28
0
func (_ tUser) Block(
	sid string,
	blocked int64,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "sid", sid)
	revel.Unbind(args, "blocked", blocked)
	return revel.MainRouter.Reverse("User.Block", args).Url
}
示例#29
0
文件: routes.go 项目: 11101171/whale
func (_ tStatic) Serve(
	prefix string,
	filepath string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "prefix", prefix)
	revel.Unbind(args, "filepath", filepath)
	return revel.MainRouter.Reverse("Static.Serve", args).Url
}
func (_ tHotels) ConfirmBooking(
	id int,
	booking interface{},
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	revel.Unbind(args, "booking", booking)
	return revel.MainRouter.Reverse("Hotels.ConfirmBooking", args).Url
}