文档
测试

邀请好友

POST
http://localhost:8080/app/userCenter/invite

请求参数

参数名
类型
描述
必填
user_id
string
用户id  示例:41840909af844632885424fbc20cae79
必填
type
int
1.二维码分享 2素材分享 3.邀请分享海报 示例:1
必填
sign
string
签名 示例:bd4cc562c03b43867c7689b0f8f4ca84
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
recommand_path
string
示例:http://localhost:8080/h5/regAdPage?recommand_code=L9DHWA
必填
recommand_code
string
示例:L9DHWA
必填
user_real_name
string
示例:马潘
必填
small_img_list
array
数据列表
必填
h5_url
string
示例:
必填
img_path
string
示例:https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1641638542319.png
必填
method_name
string
示例:
必填
remark
string
示例:1
必填
id
string
示例:a15b5f5b278a479dbdfc2d102e349880
必填
sort
int
示例:1
必填
type
int
示例:11
必填
is_can_link
int
示例:0
必填
is_h5
int
示例:0
必填
share_back_img
string
示例:
必填
big_img_list
array
数据列表
必填
h5_url
string
示例:
必填
img_path
string
示例:https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1641638466362.png
必填
method_name
string
示例:
必填
remark
string
示例:1
必填
id
string
示例:88fa4686394e47efbaf2e90caec817a0
必填
sort
int
示例:1
必填
type
int
示例:10
必填
is_can_link
int
示例:0
必填
is_h5
int
示例:0
必填
user_head_img
string
示例:test.png
必填

说明 / 示例

{ "code": 1, "errors": { }, "msg": "操作成功", "result": { "recommand_path": "http://localhost:8080/h5/regAdPage?recommand_code=L9DHWA", "recommand_code": "L9DHWA", "user_real_name": "马潘", "small_img_list": [ { "h5_url": "", "img_path": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1641638542319.png", "method_name": "", "remark": "1", "id": "a15b5f5b278a479dbdfc2d102e349880", "sort": 1, "type": 11, "is_can_link": 0, "is_h5": 0 }, { "h5_url": "", "img_path": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1641638568975.png", "method_name": "", "remark": "2", "id": "19fe7d7a37434d3ba996760bcbd6e5e1", "sort": 2, "type": 11, "is_can_link": 0, "is_h5": 0 }, { "h5_url": "", "img_path": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1641638582984.png", "method_name": "", "remark": "3", "id": "2cf58fb74f4f41a69369a018ec4fd24d", "sort": 3, "type": 11, "is_can_link": 0, "is_h5": 0 } ], "share_back_img": "", "big_img_list": [ { "h5_url": "", "img_path": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1641638466362.png", "method_name": "", "remark": "1", "id": "88fa4686394e47efbaf2e90caec817a0", "sort": 1, "type": 10, "is_can_link": 0, "is_h5": 0 }, { "h5_url": "", "img_path": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1641638488488.png", "method_name": "", "remark": "1", "id": "4477a1f54fd242f3b9b5de293dc2ed93", "sort": 2, "type": 10, "is_can_link": 0, "is_h5": 0 } ], "user_head_img": "test.png" } } 素材分享返回: { "code": 1, "errors": { }, "msg": "操作成功", "result": { "info_list": [ { "type_name": "宣传素材", "market_type_id": "051215574e0949babc0e0fb5d1dd37c6", "publisher_name": "刘德华", "content_type": 1, "img_path_str": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1640332244004.jpg", "publish_time": "2021-12-24 15:50:55", "head_img": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1640332231396.png", "id": "fd823d9e6ec5475b8b3b37e2e8542a1e", "content": "双旦狂欢,各大银行放水,境外消费提额翻倍,想提额的抓紧准备燥起来", "publish_time_stamp": 1640332255005, "share_num": 0 } ] } }