Skip to content

反馈式学习 1.1.0

方法名

feedbackLearn

用法

用法示例

js
module.feedbackLearn({
  skuID: "紫茄子"
}, res => {
  console.log(res)
})

参数说明

参数名参数类型是否必填默认值参数描述
skuIDString商品标识

回调

回调示例

json
{
  "message": "",
  "data": {
    "skuID": "紫茄子",
    "imageID": "83a9d898-ffff-0fff-2d88-000000000000"
  },
  "code": 0
}

回调说明

参数名参数类型参数描述
messageString消息提示
dataObject数据对象
data.skuIDString商品的唯一标识
data.imageIDString学习后sdk生成的图片id
codeInteger返回类型,0.成功,其他:失败