package im import "github.com/tencentyun/tls-sig-api-v2-golang/tencentyun" var ( //SdkAppid = 1400345581 //SdkAppKey = "e3d095ce8253fe18109d6c1ad068907978cac0a428fbad181d8958631b78e930" SdkAppKey = "9683fc9d2e50857f33c7ef5431942458f2dbc7042ba526f87042092afb646331" SdkAppid = 1400337419 TxImHostV4 = "https://console.tim.qq.com/v4" ) type CommonResult struct { ActionStatus string `json:"ActionStatus"` ErrorCode int `json:"ErrorCode"` ErrorInfo string `json:"ErrorInfo"` } type AccountImportParam struct { Identifier string `json:"Identifier"` Nick string `json:"Nick"` FaceUrl string `json:"FaceUrl"` } func GenSig(identifier string) (string, error) { return tencentyun.GenSig(SdkAppid, SdkAppKey, identifier, 86400000) }