作者 tangxvhui

更新 与企业平台的交互

用户鉴权
   获取切换公司需要的用户的公司
@@ -98,7 +98,7 @@ type ResponseGetUserAuth struct { @@ -98,7 +98,7 @@ type ResponseGetUserAuth struct {
98 } 98 }
99 99
100 func (r RequestGetuserAuth) Format() []byte { 100 func (r RequestGetuserAuth) Format() []byte {
101 - r.platformId = "18" 101 + r.platformId = "3"
102 var bt []byte 102 var bt []byte
103 bt, _ = json.Marshal(r) 103 bt, _ = json.Marshal(r)
104 return bt 104 return bt
@@ -145,7 +145,7 @@ type ResponseGetUserCompany struct { @@ -145,7 +145,7 @@ type ResponseGetUserCompany struct {
145 } 145 }
146 146
147 func (r RequestGetUserCompany) Format() []byte { 147 func (r RequestGetUserCompany) Format() []byte {
148 - r.platformId = "18" 148 + r.platformId = "3"
149 var bt []byte 149 var bt []byte
150 bt, _ = json.Marshal(r) 150 bt, _ = json.Marshal(r)
151 return bt 151 return bt