随笔 - 141,  文章 - 0,  评论 - 10,  阅读 - 16万
08 2019 档案
mybatis 新增返回id
摘要:<insert id="insertSelective" parameterType="" useGeneratedKeys="true" keyProperty="id" > </insert> 前台通过domain.getId();获取 阅读全文
posted @ 2019-08-09 19:34 程序员丁先生 阅读(1241) 评论(0) 推荐(0) 编辑
nginx 502 错误
摘要:错误信息:upstream prematurely closed connection while reading response header from upstream, 错误现象:nginx正常接收请求,正常调用后台接口,正常获取接口返回信息,但是请求已经中断 解决方案: location 阅读全文
posted @ 2019-08-02 14:48 程序员丁先生 阅读(4262) 评论(0) 推荐(0) 编辑
nginx跨域问题
摘要:只需要在Nginx的配置文件中配置以下参数: location / { add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS'; add_header 阅读全文
posted @ 2019-08-02 10:57 程序员丁先生 阅读(167) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示