Compare commits
3 Commits
feat-cjy-t
...
main
Author | SHA1 | Date | |
---|---|---|---|
ef6d40cf81 | |||
1c3e0b8f52 | |||
e85207132f |
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-triple v1.0.5
|
||||
// - protoc v6.32.0
|
||||
// - protoc-gen-go-triple v1.0.8
|
||||
// - protoc v3.20.3
|
||||
// source: pb/bundle.proto
|
||||
|
||||
package bundle
|
||||
|
@ -120,9 +120,12 @@ func CheckWebLogin(provider *account.AccountClientImpl) gin.HandlerFunc {
|
||||
//}
|
||||
|
||||
if info.IsOffline == true {
|
||||
//如果是来自体制外的请求,过滤挤掉校验
|
||||
if !(ctx != nil && (ctx.GetHeader("origin") == "https://erp-out.szjixun.cn")) {
|
||||
service.ErrorWeb(ctx, e.NotLogin, errors.New(logic.ConvertOfflineMsg(ctx, e.ErrOffline)))
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
//1 获取用户的账号信息
|
||||
infoReq := &account.InfoRequest{
|
||||
|
Loading…
Reference in New Issue
Block a user