作者 唐旭辉

bug

@@ -59,8 +59,8 @@ func (gateway MmmBusinessAdminServiceGateway) httpDo(reqURL string, mathod strin @@ -59,8 +59,8 @@ func (gateway MmmBusinessAdminServiceGateway) httpDo(reqURL string, mathod strin
59 59
60 func (gateway MmmBusinessAdminServiceGateway) GetUserAuth(userId int64) (*ResponseGetUserAuth, error) { 60 func (gateway MmmBusinessAdminServiceGateway) GetUserAuth(userId int64) (*ResponseGetUserAuth, error) {
61 param := map[string]interface{}{ 61 param := map[string]interface{}{
62 - "userId": userId,  
63 - "platformId": 25, 62 + "userId": fmt.Sprint(userId),
  63 + "platformId": "25", //天联共创固定值:25
64 } 64 }
65 url := gateway.baseURL + "/auth/get-user-auth" 65 url := gateway.baseURL + "/auth/get-user-auth"
66 byteData, err := gateway.httpDo(url, "POST", param) 66 byteData, err := gateway.httpDo(url, "POST", param)