소스 검색

Merge branch 'cygx_10.5.3' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 년 전
부모
커밋
653b329c75
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controllers/base_auth.go

+ 1 - 1
controllers/base_auth.go

@@ -39,7 +39,7 @@ func (this *BaseAuthController) Prepare() {
 	if method != "HEAD" {
 		if method == "POST" || method == "GET" {
 			authorization := this.Ctx.Input.Header("Authorization")
-			inviteCompany := this.Ctx.Input.Header("InviteCompany")
+			inviteCompany := this.Ctx.Input.Header("From")
 			if authorization == "" {
 				authorization = this.GetString("Authorization")
 			}