This commit is contained in:
gazebo
2019-09-25 18:08:47 +08:00
parent 0b44ea74e1
commit 37de9f6f7e

View File

@@ -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,