添加登录接口

This commit is contained in:
2026-08-29 15:01:02 +08:00
commit 4d11a1237f
919 changed files with 93098 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
export default function isPromise(obj) {
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
}