清理sql文件中INSERT INTO 内容
const fs = require('fs'); const path = require('path'); // 读取 SQL 文件 const sqlFilePath = path.join(__dirname, 'index.sql'); let sqlContent = fs.readFileSync(sqlFilePath, 'utf-8...
解决npm 在Vscode中无法使用的问题
1、在 vscode 终端执行 get-ExecutionPolicy # 返回 Restricted 说明状态是禁止的 Restricted 2、更改状态 set-ExecutionPolicy RemoteSigned 如果提示需要管理员权限,可加参数运行 Set-Execut...
cocos uuid解密脚本
//22位压缩后的 UUID解码配置 const BASE64_KEYS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; const values: number[] = new Array(123); // max char code in ba...
COCOS UUID更新还原
//******************************************* // index.json 示例 // [ // { // 'name': 'Act_1_ChongZhiZengSong', // 'uuid': '75fcdMzuAJOd6NfRzuA0VMq', // 'code': '75fcd333-b802-4e77...
TP框架获取所有数据表
Controller控制器代码:<?php declare (strict_types = 1); namespace app\admin\controller; use app\BaseController; use think\facade\Db; use think\facade\View; class Database { publi...
uniapp 小说阅读页面
<template> <view class='page' :style='{'background':global_bg}'> <view class='read_main_p'> <p>第1章</p> </view> <view class='read_content' :...








