up
This commit is contained in:
@@ -153,6 +153,7 @@ func (a *API) PoiShipTimeUpdate(poiCode, shippingTime string) (err error) {
|
||||
}
|
||||
|
||||
// 美团要求必须是jpg|jpeg图片格式,且imgName必须以jpg或jpeg结尾
|
||||
// 此接口虽然要求poiCode参数,但经过测试,发现上传的图片可以跨门店使用
|
||||
func (a *API) ImageUpload(poiCode, imgName string, imgData []byte) (imgID string, err error) {
|
||||
result, err := a.AccessAPI("image/upload", false, map[string]interface{}{
|
||||
KeyAppPoiCode: poiCode,
|
||||
|
||||
Reference in New Issue
Block a user