【升级go 1.18】

This commit is contained in:
PandaGoAdmin
2022-07-13 11:54:54 +08:00
parent 2e18999587
commit 433ee08634
60 changed files with 253 additions and 248 deletions

View File

@@ -64,7 +64,7 @@ func getLogMsg(rc *ReqCtx) string {
return msg
}
func getErrMsg(rc *ReqCtx, err interface{}) string {
func getErrMsg(rc *ReqCtx, err any) string {
msg := rc.LogInfo.Description
if !utils.IsBlank(reflect.ValueOf(rc.ReqParam)) {
rb, _ := json.Marshal(rc.ReqParam)