Merge pull request 'bug fix' (#72) from test-pay into test

Reviewed-on: https://git.oa00.com/recook/backend_v2/pulls/72
master
杨赟 3 years ago
commit 2c386245de

@ -17,7 +17,7 @@ type argsHolidays struct {
// GetHolidays 获取节假日并缓存
func (t *TianXingApi) GetHolidays(c *gin.Context) {
var args argsHolidays
if err := tools.Params(&args, c); err != nil {
if err := tools.ParseParams(&args, c); err != nil {
back.Fail(c, err.Error())
return
}

Loading…
Cancel
Save