简要描述:
请求URL:
GET/&route=plugin.activity-apply.api.Activity.getActivity
传输参数 activity_id = 135
返回活动参数:
参数名 |
是否必须 |
类型 |
说明 |
title |
否 |
string |
活动标题 |
cash |
否 |
int |
金额 |
registration_time |
否 |
time |
开始报名时间 |
registration_end_time |
否 |
time |
报名结束时间 |
start_time |
否 |
time |
活动开始时间 |
end_time |
否 |
time |
活动结束时间 |
province_id |
否 |
sting |
省ID |
province_name |
否 |
sting |
省 |
city_id |
否 |
int |
市ID |
city_name |
否 |
int |
市 |
district_id |
否 |
int |
县ID |
district_name |
否 |
int |
县 |
street_id |
否 |
int |
街道ID |
street_name |
否 |
int |
街道 |
address |
否 |
int |
详细地址 |
thumb |
否 |
sting |
图片地址 |
is_hot |
否 |
tinyint |
热门 |
is_discount |
否 |
tinyint |
精选 |
is_recommand |
否 |
tinyint |
推荐 |
limit |
否 |
string |
限制报名人数 |
|
返回报名参数:
参数名 |
是否必须 |
类型 |
说明 |
calssify_title |
否 |
string |
活动分类名称 |
is_attention |
否 |
string |
关注 |
is_sign |
否 |
string |
签到 |
count |
否 |
int |
报名人数 |
返回讲师参数:has_one_lecturer
参数名 |
是否必须 |
类型 |
说明 |
real_name |
否 |
string |
讲师名称 |
member_id |
否 |
int |
讲师id |
mobile |
否 |
int |
讲师手机 |
返回会员参数: member
参数名 |
是否必须 |
类型 |
说明 |
real_name |
否 |
string |
会员名称 |
uid |
否 |
int |
会员id |
mobile |
否 |
int |
会员手机 |
credit1 |
否 |
string |
会员积分 |
返回会员积分抵扣: goods_sale
参数名 |
是否必须 |
类型 |
说明 |
max_point_deduct |
否 |
string |
最高抵扣积分 |
min_point_deduct |
否 |
string |
最多抵扣积分 |
point |
否 |
int |
奖励积分 |
返回会员积分抵扣: love
参数名 |
是否必须 |
类型 |
说明 |
award |
否 |
string |
是否开启爱心值抵扣 0关闭,1开启 |
award_proportion |
否 |
string |
爱心值最高抵扣 |
deduction |
否 |
int |
是否开启爱心值奖励 |
deduction_proportion |
否 |
int |
奖励爱心值 |
parent_award |
否 |
int |
是否开启上级爱心值奖励 0关闭,1开启 |
parent_award_proportion |
否 |
int |
一级会员奖励爱心值 |
second_award_proportion |
否 |
int |
二级会员奖励爱心值 |
返回会订单参数: status
参数名 |
是否必须 |
类型 |
说明 |
status |
否 |
string |
-1订单取消, 0未支付,1已支付,2待发货,3交易完成 |
{
"result": 1,
"msg": "成功",
"data": {
"total": 2,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 2,
"data": [
{
"id": 10,
"uniacid": 12,
"order_id": 3733,
"activity_id": 7,
"calssify_id": 2,
"lecturer_id": 158,
"member_id": 157,
"form_id": 23,
"activity_title": null,
"order_sn": "SN20191114112822n6",
"mobile": null,
"number": null,
"cash": null,
"member_name": null,
"email": null,
"company": null,
"thumb": null,
"status": null,
"sign": 0,
"order_pay_id": null,
"sign_time": null,
"created_at": "2019-11-14 11:28:22",
"updated_at": "2019-11-14 11:28:22",
"deleted_at": null,
"has_one_member": {
"uid": 157,
"mobile": "18026357601",
"realname": "卡卡",
"nickname": "卡卡",
"avatar": "http://thirdwx.qlogo.cn/mmopen/W2JcAUVpniasTLhaMt3Se7MZen5iaLzgAfwLyVwqNMjibicxBJwdkcm7hGeujHFqnicQyvy75TQdia97EX7RBcq94X5Kmd8pNRar1f/132",
"avatar_image": "https://thirdwx.qlogo.cn/mmopen/W2JcAUVpniasTLhaMt3Se7MZen5iaLzgAfwLyVwqNMjibicxBJwdkcm7hGeujHFqnicQyvy75TQdia97EX7RBcq94X5Kmd8pNRar1f/132",
"username": "卡卡"
},
"has_one_order": {
"id": 3733,
"status": 3,
"status_name": "交易完成",
"pay_type_name": null,
"process": [],
"has_one_pay_type": null
}
},
{
"id": 11,
"uniacid": 12,
"order_id": 3734,
"activity_id": 7,
"calssify_id": 2,
"lecturer_id": 158,
"member_id": 157,
"form_id": 24,
"activity_title": null,
"order_sn": "SN20191114113319Ho",
"mobile": null,
"number": null,
"cash": null,
"member_name": null,
"email": null,
"company": null,
"thumb": null,
"status": null,
"sign": 0,
"order_pay_id": null,
"sign_time": null,
"created_at": "2019-11-14 11:33:19",
"updated_at": "2019-11-14 11:33:19",
"deleted_at": null,
"has_one_member": {
"uid": 157,
"mobile": "18026357601",
"realname": "卡卡",
"nickname": "卡卡",
"avatar": "http://thirdwx.qlogo.cn/mmopen/W2JcAUVpniasTLhaMt3Se7MZen5iaLzgAfwLyVwqNMjibicxBJwdkcm7hGeujHFqnicQyvy75TQdia97EX7RBcq94X5Kmd8pNRar1f/132",
"avatar_image": "https://thirdwx.qlogo.cn/mmopen/W2JcAUVpniasTLhaMt3Se7MZen5iaLzgAfwLyVwqNMjibicxBJwdkcm7hGeujHFqnicQyvy75TQdia97EX7RBcq94X5Kmd8pNRar1f/132",
"username": "卡卡"
},
"has_one_order": {
"id": 3734,
"status": 3,
"status_name": "交易完成",
"pay_type_name": null,
"process": [],
"has_one_pay_type": null
}
}
]
}
}