1
This commit is contained in:
@@ -5,6 +5,12 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGetMediaUrl(t *testing.T) {
|
||||
data, err := api.GetMediaUrl("1157916361", "$igHNA-kCpGpwZWcDAQTNBDgFzQlUBtoAI4QBpCErI2gCqszMIMLSLDBJb6QDzwAAAYuJvuhDBM4B-Y3tB88AAAACXUH2dAgACgQLzgAC08U")
|
||||
fmt.Println(err)
|
||||
fmt.Println(data)
|
||||
}
|
||||
|
||||
func TestGetStoreImStatus(t *testing.T) {
|
||||
data, err := api.GetStoreIMStatus("1157916361")
|
||||
if err != nil {
|
||||
@@ -22,7 +28,7 @@ func TestSendMsg(t *testing.T) {
|
||||
err := api.BusinessSendMsg(&BusinessSendMsgReq{
|
||||
PlatformShopId: "1157916361",
|
||||
BizType: IMType,
|
||||
SubBizType: SubTypeDef,
|
||||
SubBizType: IMTypeSendMsg,
|
||||
Payload: BusinessMsgPayload{
|
||||
GroupId: "$2$13205337818$PNM",
|
||||
ReceiverIds: []string{"301157916361", "10154538612", "321921188187760"},
|
||||
|
||||
Reference in New Issue
Block a user