Skip to content

Commit

Permalink
fix(修改 geetest): 🐞
Browse files Browse the repository at this point in the history
JCAlways committed Mar 29, 2024
1 parent bba0664 commit 4d1cbb4
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/_posts/20230329gt.md
Original file line number Diff line number Diff line change
@@ -34,6 +34,7 @@ initGeetest4(
var result = captcha.getValidate();
fetch("https://api.zhangsifan.com/geetest/validate_v4", {
method: "POST",
body: JSON.stringify(result),
}).then(async (response) => {
const { result } = await response.json();
if (result.success) {
1 change: 1 addition & 0 deletions source/_posts/20230330gt.md
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@ fetch("https://api.zhangsifan.com/geetest/register?").then(async (response) => {
console.log(result);
fetch("https://api.zhangsifan.com/geetest/validate", {
method: "POST",
body: JSON.stringify(result),
}).then(async (response) => {
const { result } = await response.json();
if (result.success) {

0 comments on commit 4d1cbb4

Please sign in to comment.