ls преди 5 години
родител
ревизия
40eca6b97d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      wechat/mini.go

+ 1 - 1
wechat/mini.go

@@ -20,7 +20,7 @@ func NewMiniClient(appID, appSecret string) *MiniClient {
 }
 
 // GetMiniOpenID get openid by code
-func (wc *Client) GetMiniOpenID(frm FormCode) (openid string, err error) {
+func (wc *MiniClient) GetMiniOpenID(frm FormCode) (openid string, err error) {
 	uri := BaseURL + "/sns/jscode2session?"
 
 	args := url.Values{}