Skip to content

Commit

Permalink
feat: 添加获取开卡插件参数
Browse files Browse the repository at this point in the history
  • Loading branch information
zoujingli committed Nov 18, 2024
1 parent 4a62438 commit 5b6b09b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions WeChat/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -628,4 +628,17 @@ public function payGetList(array $data)
$url = "https://api.weixin.qq.com/card/pay/getorderlist?access_token=ACCESS_TOKEN";
return $this->callPostApi($url, $data);
}

/**
* 获取开卡插件参数
* @param array $data
* @return array
* @throws Exceptions\InvalidResponseException
* @throws Exceptions\LocalCacheException
*/
public function getActivateUrl(array $data)
{
$url = "https://api.weixin.qq.com/card/membercard/activate/geturl?access_token=ACCESS_TOKEN";
return $this->callPostApi($url, $data);
}
}

0 comments on commit 5b6b09b

Please sign in to comment.