以供应模块为例
添加供应内容过滤手机号
在module/sell/sell.class.php修改,找到
- function add($post) {
大约在142行换行加上
- $post['content'] = preg_replace("/1([0-9]{10})/","",$post['content']);
效果如图:
以供应模块为例
添加供应内容过滤手机号
在module/sell/sell.class.php修改,找到
- function add($post) {
大约在142行换行加上
- $post['content'] = preg_replace("/1([0-9]{10})/","",$post['content']);
效果如图:
0评论2023-10-08
0评论2023-10-08
0评论2023-10-08
0评论2023-10-08181
0评论2023-10-08
0评论2023-10-08185
0评论2023-10-08
0评论2023-10-08
0评论2023-10-08151
0评论2023-10-08145