代码备份

This commit is contained in:
2025-06-06 15:51:12 +08:00
parent 7a69ba7cbf
commit aa8bcaaabe
10 changed files with 52 additions and 15 deletions

View File

@@ -24,7 +24,7 @@
* 从金蝶添加订单的GET请求挂载到window可在控制台直接调用
* @param {string} token 认证token
*/
window.addOrderFromKingDee = function() {
window.getMaxcessData = function() {
const apiUrl = 'https://maxcessth.gatedge.cn:91/api/Test2/AddOrderFromKingDee';
const token = document.cookie.split('; ').find(row => row.startsWith(`token=`))?.split('=')[1];
console.log(`正在请求 ${apiUrl}...`); // 提示请求开始