查询活动详情
查出活动id对应的活动详情
请求参数 | 类型 | 描述 |
---|---|---|
activity_id | string | 活动ID |
php
$instance->v3->marketing->membercardActivity->activities->_activity_id_->getAsync([
'activity_id' => '371067',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/marketing/membercard-activity/activities/{activity_id}')->getAsync([
'activity_id' => '371067',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/marketing/membercard-activity/activities/{activity_id}']->getAsync([
'activity_id' => '371067',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->marketing->membercardActivity->activities->_activity_id_->get([
'activity_id' => '371067',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/membercard-activity/activities/{activity_id}')->get([
'activity_id' => '371067',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/membercard-activity/activities/{activity_id}']->get([
'activity_id' => '371067',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
activity_id | string | 活动ID |
activity_status | string | 活动的当前状态 |
create_time | string | 创建时间 |
update_time | string | 更新时间 |
card_id | string | 会员卡ID |
activity_name | string | 活动名称 |
activity_type | string | 活动类型 |
begin_time | string | 活动开始时间 |
end_time | string | 活动结束时间 |
award_send_period | object | 发放时间段 |
award_send_time | object[] | 指定时间 |
begin_time | string | 发放开始时间 |
end_time | string | 发放结束时间 |
award_send_day_time | object[] | 指定时间段 |
begin_day_time | object | 每日发放开始时间 |
hours | integer | 时 |
minutes | integer | 分 |
seconds | integer | 秒 |
end_day_time | object | 每日发放结束时间 |
hours | integer | 时 |
minutes | integer | 分 |
seconds | integer | 秒 |
stock_list | object[] | 优惠券列表 |
stock_creator_mchid | string | 创建批次的商户号 |
stock_id | string | 券批次ID |
out_request_no | string | 商户请求单号 |
pay_activity_setting | object | 支付后活动设置 |
logo_url | string | 商户logo |
activity_second_title | string | 支付结果页活动副标题 |
mchid_list | string[] | 活动曝光商户号 |
activate_setting | object | 激活方式设置 |
activate_type | string | 激活类型 |
activate_url | string | 跳转激活的url |
activate_miniprogram | object | 跳转激活的小程序 |
activate_appid | string | 跳转激活的appid |
activate_path | string | 跳转激活的path |
payment_setting | object | 支付设置 |
payment_mode | object | 支付模式 |
payment_scene_list | string[] | 支付场景列表 |
limit_bank | string | 指定银行的简称 |
goods_tags | string[] | 订单优惠标记 |
miniprogram_activity_setting | object | 支付前会员活动设置 |
outer_str | string[] | 指定领取渠道 |
award_jump_deploy | object | 领奖页面跳转配置 |
mini_program_appid | string | 小程序AppID |
mini_program_path | string | 小程序path |
button_text | string | 跳转按钮文案 |