diff --git a/README.md b/README.md index 1e31110..8aac8b3 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,11 @@ ``` ### 2.引入 ```go -go get -u golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk +go get -u golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk ``` 或 Go Module ```go -import "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" +import "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk" ``` ### 3.服务端认证及返回处理 @@ -34,9 +34,9 @@ package applications import ( "github.com/astaxie/beego" "github.com/astaxie/beego/context" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth/credentials" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth/signers" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth/credentials" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth/signers" "golib.gaore.com/GaoreGo/grlogs" ) @@ -81,7 +81,7 @@ func init() { 在`services`目录下以服务归类新建文件夹, 如`jedi`为短信服务,以 `RpcRequest` 和 `BaseResponse` 以基类写好请求子类和响应子类。一个请求接口对应一对请求和响应类。 ```go -import "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" +import "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk" const ( HOST = "jedi" // 如果非全域名会自动补全.gaore.com , 如jedi 会自动补全jedi.goare.com, 也可以打全域名 test.uu89.com @@ -132,8 +132,8 @@ GET param_1=111¶m_2=10086¶m_3=false package jedi import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) // 定义请求体 diff --git a/sdk/auth/crediantial.go b/sdk/auth/crediantial.go index 4fd6cbe..0b5dc86 100644 --- a/sdk/auth/crediantial.go +++ b/sdk/auth/crediantial.go @@ -1,6 +1,6 @@ package auth -import "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/utils" +import "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/utils" var debug utils.Debug diff --git a/sdk/auth/rali_signature_composer.go b/sdk/auth/rali_signature_composer.go index 37cd3d1..71f4eed 100644 --- a/sdk/auth/rali_signature_composer.go +++ b/sdk/auth/rali_signature_composer.go @@ -4,8 +4,8 @@ import ( "bytes" "errors" "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/utils" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/utils" "net/http" "net/url" "sort" diff --git a/sdk/auth/roa_signature_composer.go b/sdk/auth/roa_signature_composer.go index 342e99d..bd8acce 100644 --- a/sdk/auth/roa_signature_composer.go +++ b/sdk/auth/roa_signature_composer.go @@ -4,8 +4,8 @@ import ( "bytes" "errors" "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/utils" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/utils" "net/http" "net/url" "strconv" diff --git a/sdk/auth/rpc_signature_composer.go b/sdk/auth/rpc_signature_composer.go index 049f80f..ce42529 100644 --- a/sdk/auth/rpc_signature_composer.go +++ b/sdk/auth/rpc_signature_composer.go @@ -4,8 +4,8 @@ import ( "bytes" "errors" "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/utils" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/utils" "net/http" "net/url" "strconv" diff --git a/sdk/auth/signer.go b/sdk/auth/signer.go index 71f262b..c16c19f 100644 --- a/sdk/auth/signer.go +++ b/sdk/auth/signer.go @@ -2,10 +2,10 @@ package auth import ( "errors" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth/credentials" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth/signers" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth/credentials" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth/signers" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" "net/http" ) diff --git a/sdk/auth/signers/access_key_siginer.go b/sdk/auth/signers/access_key_siginer.go index 2ba1619..3684cfa 100644 --- a/sdk/auth/signers/access_key_siginer.go +++ b/sdk/auth/signers/access_key_siginer.go @@ -4,7 +4,7 @@ import ( "crypto/hmac" "crypto/sha1" "encoding/base64" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth/credentials" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth/credentials" ) type AccessKeySigner struct { diff --git a/sdk/auth/signers/ali_appcode_signer.go b/sdk/auth/signers/ali_appcode_signer.go index 2ec4c50..635f595 100644 --- a/sdk/auth/signers/ali_appcode_signer.go +++ b/sdk/auth/signers/ali_appcode_signer.go @@ -4,7 +4,7 @@ import ( "crypto/hmac" "crypto/sha256" "encoding/base64" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth/credentials" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth/credentials" ) type AliAppcodeSigner struct { diff --git a/sdk/auth/signers/sts_token_signer.go b/sdk/auth/signers/sts_token_signer.go index c4bc69b..f56aa25 100644 --- a/sdk/auth/signers/sts_token_signer.go +++ b/sdk/auth/signers/sts_token_signer.go @@ -3,7 +3,7 @@ package signers import ( "crypto/md5" "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth/credentials" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth/credentials" ) type StsTokenSigner struct { diff --git a/sdk/client.go b/sdk/client.go index 0e2add5..b2a67fa 100644 --- a/sdk/client.go +++ b/sdk/client.go @@ -5,11 +5,11 @@ import ( "context" "crypto/tls" "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/auth/credentials" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/utils" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/auth/credentials" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/utils" "net" "net/http" "net/http/httputil" @@ -24,7 +24,7 @@ import ( var Version = "0.0.1" var defaultConnectTimeout = 5 * time.Second var defaultReadTimeout = 10 * time.Second -var defaultDomain = ".gaore.com" +var defaultDomain = ".gaore.com.hk" var DefaultUserAgent = fmt.Sprintf("GaoreGoSdk (%s;%s) Golang/%s Core/%s", runtime.GOOS, runtime.GOARCH, strings.Trim(runtime.Version(), "go"), Version) var debug utils.Debug diff --git a/sdk/config.go b/sdk/config.go index ae79f51..7261982 100644 --- a/sdk/config.go +++ b/sdk/config.go @@ -1,7 +1,7 @@ package sdk import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/utils" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/utils" "net/http" "time" ) diff --git a/sdk/requests/request.go b/sdk/requests/request.go index 551cc79..ebbed6d 100644 --- a/sdk/requests/request.go +++ b/sdk/requests/request.go @@ -3,7 +3,7 @@ package requests import ( "errors" "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/utils" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/utils" "io" "math/cmplx" "reflect" @@ -236,7 +236,7 @@ func defaultBaseRequest() (request *baseRequest) { Method: GET, QueryParams: make(map[string]string), Headers: map[string]string{ - "Gr-Sdk-Client": "golang/1.14", + "Gr-Sdk-Client": "golang/1.19.4", "Gr-Sdk-Invoke-Type": "normal", "Accept-Encoding": Json, }, diff --git a/sdk/requests/rpc_request.go b/sdk/requests/rpc_request.go index 55e763c..387523d 100644 --- a/sdk/requests/rpc_request.go +++ b/sdk/requests/rpc_request.go @@ -2,7 +2,7 @@ package requests import ( "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/utils" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/utils" "io" "strings" ) diff --git a/sdk/responses/response.go b/sdk/responses/response.go index 7125546..145e2e7 100644 --- a/sdk/responses/response.go +++ b/sdk/responses/response.go @@ -4,7 +4,7 @@ import ( "encoding/json" "errors" "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" "io/ioutil" "net/http" "strings" diff --git a/services/apk/add_apk.go b/services/apk/add_apk.go index e656dcb..cc24afb 100644 --- a/services/apk/add_apk.go +++ b/services/apk/add_apk.go @@ -1,8 +1,8 @@ package apk import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type AddApkRequest struct { diff --git a/services/apk/add_top.go b/services/apk/add_top.go index 732b613..31cd808 100644 --- a/services/apk/add_top.go +++ b/services/apk/add_top.go @@ -1,8 +1,8 @@ package apk import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type AddTopRequest struct { diff --git a/services/apk/client.go b/services/apk/client.go index 46c6d60..bc5b701 100644 --- a/services/apk/client.go +++ b/services/apk/client.go @@ -2,8 +2,8 @@ package apk import ( "encoding/json" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" ) const ( diff --git a/services/apk/refresh_apk.go b/services/apk/refresh_apk.go index 05e841b..860cc41 100644 --- a/services/apk/refresh_apk.go +++ b/services/apk/refresh_apk.go @@ -1,8 +1,8 @@ package apk import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type RefreshApkRequest struct { diff --git a/services/apk/search_apk.go b/services/apk/search_apk.go index 1e6cf5d..db4f227 100644 --- a/services/apk/search_apk.go +++ b/services/apk/search_apk.go @@ -1,8 +1,8 @@ package apk import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" "time" ) diff --git a/services/callback/client.go b/services/callback/client.go index de57c0d..45a184f 100644 --- a/services/callback/client.go +++ b/services/callback/client.go @@ -1,8 +1,8 @@ package callback import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" ) const ( diff --git a/services/callback/send_action.go b/services/callback/send_action.go index 07b8fc5..f93a930 100644 --- a/services/callback/send_action.go +++ b/services/callback/send_action.go @@ -1,8 +1,8 @@ package callback import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) const OS_ANDROID = 2 diff --git a/services/jedi/README.md b/services/jedi/README.md index 3f24bbd..c802db1 100644 --- a/services/jedi/README.md +++ b/services/jedi/README.md @@ -4,7 +4,7 @@ ```go import ( "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/services/jedi" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/services/jedi" ) func main() { diff --git a/services/jedi/client.go b/services/jedi/client.go index 9906351..efa77ee 100644 --- a/services/jedi/client.go +++ b/services/jedi/client.go @@ -1,8 +1,8 @@ package jedi import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" "strings" ) diff --git a/services/jedi/send_sms.go b/services/jedi/send_sms.go index d9c1c87..ff897bc 100644 --- a/services/jedi/send_sms.go +++ b/services/jedi/send_sms.go @@ -1,8 +1,8 @@ package jedi import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type SendSmsRequest struct { diff --git a/services/mail/client.go b/services/mail/client.go index 7059b64..8e3b281 100644 --- a/services/mail/client.go +++ b/services/mail/client.go @@ -3,8 +3,8 @@ package mail import ( "crypto/md5" "fmt" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" "time" ) diff --git a/services/mail/end_email.go b/services/mail/end_email.go index a45ad36..7f2a177 100644 --- a/services/mail/end_email.go +++ b/services/mail/end_email.go @@ -1,8 +1,8 @@ package mail import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type PostEmailRequest struct { diff --git a/services/mkt/client.go b/services/mkt/client.go index 53023b7..26f5d13 100644 --- a/services/mkt/client.go +++ b/services/mkt/client.go @@ -1,8 +1,8 @@ package mkt import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" ) const ( diff --git a/services/mkt/pkg_notice.go b/services/mkt/pkg_notice.go index ac2f13c..33dd141 100644 --- a/services/mkt/pkg_notice.go +++ b/services/mkt/pkg_notice.go @@ -1,8 +1,8 @@ package mkt import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) // PkgNoticeRequest 打包通知请求信息 diff --git a/services/sso/client.go b/services/sso/client.go index 3e726fe..c3b6cc5 100644 --- a/services/sso/client.go +++ b/services/sso/client.go @@ -1,8 +1,8 @@ package sso import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" ) const ( @@ -11,6 +11,18 @@ const ( var HOST = requests.Host{ Default: "sso", + Func: func(s string) string { + host := map[string]string{ + requests.RELEASE: "sso.gaore.com.hk", + requests.PRE: "sso.gaore.com", + requests.TEST: "sso.gaore.com", + } + if s, ok := host[s]; ok { + return s + } else { + return "sso.gaore.com.hk" + } + }, } type Client struct { diff --git a/services/sso/code_auth.go b/services/sso/code_auth.go index 8080cb1..f50b589 100644 --- a/services/sso/code_auth.go +++ b/services/sso/code_auth.go @@ -1,8 +1,8 @@ package sso import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type CodeAuthRequest struct { diff --git a/services/sso/get_user.go b/services/sso/get_user.go index e69183d..f33e22d 100644 --- a/services/sso/get_user.go +++ b/services/sso/get_user.go @@ -1,8 +1,8 @@ package sso import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type GetUserInfoRequest struct { diff --git a/services/sso/refresh_token.go b/services/sso/refresh_token.go index bfa0d5c..c5722e4 100644 --- a/services/sso/refresh_token.go +++ b/services/sso/refresh_token.go @@ -1,8 +1,8 @@ package sso import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type RefreshTokenRequest struct { diff --git a/services/sso/search_user.go b/services/sso/search_user.go index 07450a1..0f37421 100644 --- a/services/sso/search_user.go +++ b/services/sso/search_user.go @@ -1,8 +1,8 @@ package sso import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type SearchUserRequest struct { diff --git a/services/www/client.go b/services/www/client.go index 51f6dfa..32d56dd 100644 --- a/services/www/client.go +++ b/services/www/client.go @@ -1,8 +1,8 @@ package www import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" ) const ( diff --git a/services/www/get_pwd.go b/services/www/get_pwd.go index b135f5b..2eaadb2 100644 --- a/services/www/get_pwd.go +++ b/services/www/get_pwd.go @@ -1,8 +1,8 @@ package www import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/haiwai-common-sdk-go/sdk/responses" ) type GetPwdRequest struct {