Merge branch 'feat-hjj-OfficialManage#A161' into dev
This commit is contained in:
commit
e340c8beab
@ -47,6 +47,10 @@ func Display(ctx *gin.Context) {
|
||||
service.Error(ctx, err)
|
||||
return
|
||||
}
|
||||
if req.LangType == "" {
|
||||
service.Error(ctx, errors.New("语言类型为空"))
|
||||
return
|
||||
}
|
||||
resp, err := service.PressReleasesProvider.Display(ctx, &req)
|
||||
if err != nil {
|
||||
service.Error(ctx, err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user