分享好友 教程资讯首页 频道列表

DESTOON批量修改浏览次数值SQL语句

2023-10-08 02:34380

 批量增加浏览量(适用于新站)

后台SQL命令吧:(后台-我的面板-数据维护-执行SQL)
(默认命令为sql为默认前缀,您如自定义了 ,请修改 dextoon_ 为你自己的前缀)
默认加100, 不要加太多,一天加点即可,心不要黑
以下为sql语句内容:(前提,需要修改根目录config.inc.php里的 $CFG['executesql']  为1 ,默认为0 是禁止的,执行完成后,可改回0)


方式1、(为当前模块的所有信息增加)

  1. update destoon_company set hits=hits+100;
  2. update destoon_sell_5 set hits=hits+100;
  3. update destoon_buy_6 set hits=hits+100;
  4. update destoon_article_21 set hits=hits+100;


方式2、(只为浏览次数小于800的信息增加)

  1. update destoon_company set hits=hits+100 where hits<800;
  2. update destoon_sell_5 set hits=hits+100 where hits<800;
  3. update destoon_buy_6 set hits=hits+100 where hits<800;
  4. update destoon_article_21 set hits=hits+100 where hits<800;


方式3、(只为单个会员或者单条信息增加),注意公司有两种方式,一种是获取会员id,一种是获取会员用户名

  1. update destoon_company set hits=hits+100 where userid=2847;
  2. update destoon_company set hits=hits+100 where username='xiaohei';
  3.  
  4. update destoon_sell_5 set hits=hits+100 where itemid=418;
  5. update destoon_buy_6 set hits=hits+100 where  itemid=418;
  6. update destoon_article_21 set hits=hits+100 where itemid=418;


依次类推  数据库表名 ,自己看 数据库表名
后台-我的面板-数据维护


反对 0
举报 0
收藏 0
打赏 0
评论 0
如何生成背景透明的微信小程序二维码
如何生成背景透明的微信小程序二维码透明背景参数is_hyaline 是否需要透明底色, is_hyaline 为true时,生成透明底色的小程序码publicfunctiongetQRCodeB($scene

0评论2023-10-08181

destoon标签调取相应的信息内容及图片
本教程合适于没有分表的情况下第一步:打开根目录/include/tag.func.php找到 isset($showpage) or $showpage = 0; 这句。在其上行或其下行添上(isset($showconte

0评论2023-10-08185

DESTOON搜索关键词记录过滤拼音以及全英文搜索
网站搜索关键词记录总有英文的恶意关键词搜索提交,导致destoon后台的搜索关键词记录一大堆垃圾无效的搜索关键词,所以就重新在官方默认的基础上修改过滤英文及

0评论2023-10-08151

DESTOON系统框架根据标题调取百度下拉+淘宝下拉词函数,增强页面相关性
写了一个destoon根据标题调取百度下拉+淘宝下拉词函数,增强页面相关性,也可以用于自动分词,提取相关词,适用于destoon任意版本,废话不多说。上代码!首先在/

0评论2023-10-08145