package controller

import (
	_type "xianyv/type"
	"xianyv/utils/requestUtil"
)

func Flash(body _type.DownAndFlash) ([]byte, error) {
	path := "/api/open/product/edit"
	response, err := requestUtil.MakeAPIRequest(body.AppId, body.AppSecret, "https://open.goofish.pro", path, body)
	return response, err
}
