💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] * * * * * ### WeEngine Android、IOS Favorite api #### 关注列表 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.favorite.get_list *string:page=1#页码 *string:openid=默认值#openid <<< success { "status": 1, "result": { "list": [ { "id": "", //关注ID "goodsid": "", //商品ID "title": "", //商品标题 "thumb": "", //缩略图 "marketprice": "", //商品现价 "productprice": "", //商品原价 "merchid": "", //商户ID "merchname": "", //商户名称 "openmerch": //是否开启多商户 0否 1是 } ], "total": "", 数量 "pagesize": , //每页数量 "openmerch": , //是否开启多商户 0否 1是 } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~ #### 添加关注 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.favorite.toggle *string:id=默认值#商品ID *string:openid=默认值#openid *string:isfavorite=默认值# <<< success { "status": 1, "result": { "isfavorite": 1 } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~ #### 移除关注 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.favorite.remove *array:ids=默认值#关注ID组 *string:openid=默认值#openid <<< success { "status": 1 } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~