daShangDao_xy_dll/controller/flash.go

13 lines
306 B
Go

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
}