Logo white

bosiny / project1

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • project1
  • ..
  • utils
  • some.js
  • chore: 初始提交 php 遗留系统(FastAdmin / ThinkPHP 5.0.25 CRM) ...
    2db47680
    代码范围:application/(后台 367 控制器)、addons/(7 个插件:qingdong/antis/
    fastflow/kuerp/exam/command/nkeditor)、public/、thinkphp/、vendor/、extend/
    
    不入库(.gitignore):
    - 运行期产物 runtime/(30MB 日志与缓存)、public/export/(78 个业务导出)、*.log、.DS_Store
    - 本地环境与凭据:.env、application/database.php、
      application/extra/{yonyou_bip,queue,site}.php —— 均提供同名 .example 模板
    
    凭据处置:上述 5 个配置文件未入库;代码与文档中硬编码的第三方密钥
    (用友 BIP app_key/app_secret、微信小程序 secret、第三方 API key、微信 AESKey)
    已脱敏;脱敏前的原始副本留存为 *.orig-secret 且同样不入库。
    hexiaodong authored
    2026-10-10 18:34:47 +0800  
    Browse Code »
some.js 394 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
var some;
if (Array.prototype.some) {
    some = Array.prototype.some;
} else {
    some = function (fun) {
        var t = Object(this),
            len = t.length >>> 0,
            i;

        for (i = 0; i < len; i++) {
            if (i in t && fun.call(this, t[i], i, t)) {
                return true;
            }
        }

        return false;
    };
}

export { some as default };