update 26.7.25

This commit is contained in:
kun
2026-07-25 02:31:18 +08:00
parent dd4babe65b
commit 41bc881f02
123 changed files with 24997 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
var request = (url, type = 'get' | 'post', data) => {
const $ = layui.$
return new Promise((resolve, reject) => {
$.ajax({
url,
type,
data,
dataType: 'json',
timeout: 60 * 1000,
contentType: 'application/x-www-form-urlencoded',
success: (res) => {
resolve(res)
},
error: (err) => {
reject(err)
}
})
})
}