func DoHttpPostOApi(path protocol.OpenApiPath, headers map[string]string, data interface{}) ([]byte, int, error) {
	reqBody := new(bytes.Buffer)
	err := json.NewEncoder(reqBody).Encode(data)
	if err != nil {
		return nil, 0, fmt.Errorf("jsonEncodeError[%v]", err)
	}
	reqURL := GetOpenPlatformHost() + string(path)
	return DoHttp(HTTPMethodPost, reqURL, headers, reqBody)
}
DoHttpPostOApi open platform POST http
package common
import (
	"bytes"
	"encoding/json"
	"fmt"
	"io/ioutil"
	"net/http"
	"net/url"
	"github.com/larksuite/botframework-go/SDK/protocol"
)
const (
	HTTPMethodGet     = "GET"
	HTTPMethodHead    = "HEAD"
	HTTPMethodPost    = "POST"
	HTTPMethodPut     = "PUT"
	HTTPMethodPatch   = "PATCH"
	HTTPMethodDelete  = "DELETE"
	HTTPMethodConnect = "CONNECT"
	HTTPMethodOptions = "OPTIONS"
	HTTPMethodTrace   = "TRACE"
)
const (
	HTTPCodeOK = 200
)