摘要: /** * 读取文件 * @param $dirname * @param $ext * @return array */ public static function scan_dir($dirname, $ext = "json") { $result = array(); if (is_dir 阅读全文
posted @ 2023-04-04 10:27 xingduo 阅读(19) 评论(0) 推荐(0)
摘要: import {fileURLToPath, URL} from 'node:url' import {defineConfig, loadEnv} from 'vite' import vue from '@vitejs/plugin-vue' import AutoImport from 'un 阅读全文
posted @ 2023-03-09 17:58 xingduo 阅读(114) 评论(0) 推荐(0)
摘要: class UrlEncryption { /** * base64编码 * * @param string * @return string */ public static function encode($data) { return rtrim(strtr(base64_encode($da 阅读全文
posted @ 2023-02-01 11:20 xingduo 阅读(14) 评论(0) 推荐(0)