Merge branch 'feature-userinfo-daiyb' into dev
This commit is contained in:
commit
f356e389f5
@ -45,9 +45,8 @@ func LayoutDetail(ctx *gin.Context) {
|
||||
service.Error(ctx, err)
|
||||
return
|
||||
}
|
||||
//userInfo := login.GetUserInfoFromC(ctx)
|
||||
//req.UserID = fmt.Sprint(userInfo.ID)
|
||||
req.UserID = "2"
|
||||
userInfo := login.GetUserInfoFromC(ctx)
|
||||
req.UserID = fmt.Sprint(userInfo.ID)
|
||||
resp, err := service.CastProvider.GetLayout(context.Background(), req)
|
||||
if err != nil {
|
||||
service.Error(ctx, err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user