Removed secret
field from types.ShortenReq
This commit is contained in:
@ -32,7 +32,6 @@ func (l *ShortenUrlLogic) ShortenUrl(req *types.ShortenReq) (resp *types.Shorten
|
||||
insertUrl.BindStruct(db.UrlModel{
|
||||
Id: id,
|
||||
RedirectUrl: req.RedirectUrl,
|
||||
Secret: &req.Secret,
|
||||
})
|
||||
|
||||
if err := insertUrl.ExecRelease(); err != nil {
|
||||
|
Reference in New Issue
Block a user