feat:openid

This commit is contained in:
eric
2023-12-05 15:55:48 +08:00
parent 7b7f9529a8
commit 46cd9fbb0f
2 changed files with 3 additions and 2 deletions

View File

@@ -74,7 +74,8 @@ const Detail = () => {
method:'POST',
url: "/api/payh5", //仅为示例,并非真实的接口地址
data: {
callback_url:window.location.href
callback_url:window.location.href,
openid:window.localStorage.getItem('openid')
},
header: {
"content-type": "application/json", // 默认值