你好世界

摘要: 本地项目前后端会出现跨域问题,若依的前端会通过反向代理解决。 若依前端通过拼接字符串 在devServer 里配置 proxy 属性,但是需要配置webpack 。通过vue.config.js修改 devServer: { proxy: { '/api': { target: 'http://lo 阅读全文
posted @ 2024-03-14 15:38 constantinealicia 阅读(1876) 评论(0) 推荐(0)
摘要: 若依中查询表名的sql语句 <select id="selectDbTableList" parameterType="GenTable" resultMap="GenTableResult"> select table_name, table_comment, create_time, updat 阅读全文
posted @ 2024-03-14 15:30 constantinealicia 阅读(172) 评论(0) 推荐(0)
摘要: 1. 导入 Pandas 库 import pandas as pd 2. 创建 DataFrame 对象 # 从列表创建 data = [['Alice', 25], ['Bob', 30], ['Charlie', 35]] df = pd.DataFrame(data, columns=['N 阅读全文
posted @ 2024-03-14 15:20 constantinealicia 阅读(91) 评论(0) 推荐(0)
摘要: 基本类型: String 存储数据: stringRedisTemplate.opsForValue().set("key", "value"); 获取数据: String value = stringRedisTemplate.opsForValue().get("key"); 设置数据的过期时间 阅读全文
posted @ 2024-03-14 15:17 constantinealicia 阅读(67) 评论(0) 推荐(0)
摘要: ls - 列出目录内容 示例:ls -l(以详细列表格式显示文件) cd - 切换工作目录 示例:cd /path/to/directory pwd - 显示当前工作目录的路径 mkdir - 创建新目录 示例:mkdir new_directory cp - 复制文件或目录 示例:cp file1 阅读全文
posted @ 2024-03-14 15:15 constantinealicia 阅读(31) 评论(0) 推荐(0)