摘要: proxy_pass http://localhost/api;配置成这个,转发到IIS会偶发400 bad request错误 改为IP proxy_pass http://127.0.0.1/api; 这样就无问题啦,具体为何,还想有大神解答 阅读全文
posted @ 2021-10-30 16:32 晓燚缺 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 1.npx create-react-app my-app --typescript .npm start 在http://localhost:3000下监视文件,文件修改将自动更新,你可以在控制台中看到检测错误.npm test 在交互监视模式下启动测试运行程序。后面细讲.npm run buil 阅读全文
posted @ 2020-12-04 15:09 晓燚缺 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 1.安装mysql (自行安装) Linux macOS Microsoft Windows Others 2.下载 code-push-server 仓库 git clone https://github.com/lisong/code-push-server.git cd code-push-s 阅读全文
posted @ 2020-12-04 14:29 晓燚缺 阅读(278) 评论(0) 推荐(0) 编辑
摘要: (1)安装code-push-cli npm i code-push-cli@2.1.9 -g 需要安装2.1.9版本,3.0版本登录会出错并提示转到appcenter-cli (2)登录 code-push login http://localhost:3000 在弹出的网页中登录,账号:admi 阅读全文
posted @ 2020-12-04 13:25 晓燚缺 阅读(400) 评论(0) 推荐(0) 编辑
摘要: "react": "16.9.0", "react-native": "0.61.5", Android 在项目中安装 react-native-code-push插件,终端进入你的项目根目录然后运行 npm install --save react-native-code-push 插件适用于版本 阅读全文
posted @ 2020-12-04 11:50 晓燚缺 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 发布更新 需在项目主目录下执行以下命令 CodePush支持两种发布更新的方式,一种是通过code-push release-react简化方式,另外一种是通过code-push release的复杂方式。 这里重点介绍第一种方式 第一种方式:通过code-push release-react发布更 阅读全文
posted @ 2020-12-04 11:12 晓燚缺 阅读(965) 评论(0) 推荐(0) 编辑
摘要: SSM在mybatis执行存储过程时报Connection is read-only. Queries leading to data modification are not allowed 需要检查applicationContext.xml的配置,看看是不是设置了只读 <tx:advice t 阅读全文
posted @ 2020-12-02 13:30 晓燚缺 阅读(158) 评论(0) 推荐(0) 编辑
摘要: <insert id="insertBatch"> INSERT INTO t_user (id, name, sex) VALUES <foreach collection ="list" item="user" separator =","> (#{user.id}, #{user.name}, 阅读全文
posted @ 2020-11-18 11:15 晓燚缺 阅读(56) 评论(0) 推荐(0) 编辑
摘要: pom.xml 添加 <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.4</version> </dependency> <depend 阅读全文
posted @ 2020-11-18 11:07 晓燚缺 阅读(66) 评论(0) 推荐(0) 编辑