Skip to content

商圈会员待积分状态查询

通过此API,商圈商户/服务商可以自行查询已授权“商圈会员积分服务”的会员用户当日在该商圈的待积分状态。

请求参数类型描述
openidstring顾客openid
queryobject声明请求的查询参数
sub_mchidstring商圈商户ID
brandidinteger品牌ID
appidstring应用ID
php
$instance->v3->businesscircle->users->_openid_->points->commit_status->getAsync([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid' => 1000,
    'appid' => 'wx931386123456789e',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance->chain('v3/businesscircle/users/{openid}/points/commit_status')->getAsync([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid' => 1000,
    'appid' => 'wx931386123456789e',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance['v3/businesscircle/users/{openid}/points/commit_status']->getAsync([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid' => 1000,
    'appid' => 'wx931386123456789e',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r($response->getStatusCode() === 204);
})
->wait();
php
$response = $instance->v3->businesscircle->users->_openid_->points->commit_status->get([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid' => 1000,
    'appid' => 'wx931386123456789e',
  ],
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance->chain('v3/businesscircle/users/{openid}/points/commit_status')->get([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid' => 1000,
    'appid' => 'wx931386123456789e',
  ],
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance['v3/businesscircle/users/{openid}/points/commit_status']->get([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid' => 1000,
    'appid' => 'wx931386123456789e',
  ],
]);
print_r($response->getStatusCode() === 204);
返回字典类型描述
空字符串(无返回内容)

参阅 官方文档 官方文档

Published on the GitHub by TheNorthMemory