代码调整
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"os"
|
||||
"regexp"
|
||||
"stat/api/proto"
|
||||
"stat/common/log"
|
||||
"stat/common/utils"
|
||||
downloadinfo "stat/models/downloadinfo"
|
||||
"stat/models/versionMod"
|
||||
@@ -80,6 +81,7 @@ func GetH5Config(ctx context.Context, req *proto.H5ConfigReq, userAgent string,
|
||||
}
|
||||
cacheSer.Writers.LandPageClickWriter.Add(downloadInfo)
|
||||
origin, target, config := GetAppConfig(req.AppId)
|
||||
log.Info("GetH5Config", log.Any("origin", origin), log.Any("target", target))
|
||||
if origin == "" || target == "" || config == "" {
|
||||
return nil, "madou.mobileconfig"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user