文档
测试

发布笔记

POST
http://192.168.1.221/member/api.users/shareEarn

接口描述

John

请求参数

参数名
类型
描述
必填
type
int
1是文章 2是视频
必填
title
string
标题,小于64个字
必填
content
string
内容,小于500个字
必填
imgfile
string
多图用英文逗号隔空
必填
videofile
string
视频base64
必填
topic
string
话题,小于64个字
必填
goods_id
string
橱窗商品id,多个用逗号隔开
必填
apitoken
string
必填
id
int
文章id(发布不用带,编辑要带)
必填
img_type
0直接返回图片路径 1图片传base64 ,多个用数组
必填

说明 / 示例

``` { "code": 1, "msg": "发布成功", "data": "", "url": "/member/api.users/shareearn.html", "wait": 3 } ```