yangzailu

导航

2023年11月29日 #

sql 批量匹配截取替换字段

摘要: UPDATE 表名SET 字段名 = REPLACE(字段名, '要替换的关键词', '替换后的关键词')WHERE 条件; UPDATE activity_commodity SET commodity_picture = REPLACE(commodity_picture, 'hewa-acti 阅读全文

posted @ 2023-11-29 16:07 飞离地平线 阅读(5) 评论(0) 推荐(0) 编辑

nginx 强制跳转域名

摘要: 1、匹配到 hewashanzhao.com 强制跳转到 https://hewa.cn server { listen 8110; server_name hewashanzhao.com; location / { rewrite ^/(.*)$ https://hewa.cn/$1 perma 阅读全文

posted @ 2023-11-29 15:42 飞离地平线 阅读(78) 评论(0) 推荐(0) 编辑