Skip to content

查询用户保险订单领取资格

商户通过该接口查询用户保险订单领取资格。

请求参数类型描述
openidstring微信用户在商户对应appid下的唯一标识。
php
$instance->v3->hirePowerBank->userQualifications->_openid_->getAsync([
  'openid' => '2323dfsdf342342',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/hire-power-bank/user-qualifications/{openid}')->getAsync([
  'openid' => '2323dfsdf342342',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/hire-power-bank/user-qualifications/{openid}']->getAsync([
  'openid' => '2323dfsdf342342',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->hirePowerBank->userQualifications->_openid_->get([
  'openid' => '2323dfsdf342342',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/hire-power-bank/user-qualifications/{openid}')->get([
  'openid' => '2323dfsdf342342',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/hire-power-bank/user-qualifications/{openid}']->get([
  'openid' => '2323dfsdf342342',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
qualified_userboolean用户是否具有保险订单领取资格

参阅 官方文档

Published on the GitHub by TheNorthMemory