Adding web service methods

This commit is contained in:
=Corey Hulen
2016-01-08 22:57:38 -06:00
parent 3fba8e42b1
commit e1f4cc4bb0
6 changed files with 303 additions and 18 deletions

View File

@@ -133,3 +133,12 @@ func (o *Command) PreSave() {
func (o *Command) PreUpdate() {
o.UpdateAt = GetMillis()
}
func (o *Command) Sanatize() {
o.Token = ""
o.CreatorId = ""
o.Method = ""
o.URL = ""
o.Username = ""
o.IconURL = ""
}