帝国cms 常用的sql代码总结

时间:2023年09月17日

/

来源:网络

/

编辑:佚名

这里存放一下我自己常用的sql代码,以后方便使用!!
sql代码 7.5用的
TRUNCATE phome_enewsuser;
TRUNCATE phome_enewslink;
TRUNCATE phome_enewsuseradd;
TRUNCATE phome_enewslog;
INSERT INTO `phome_enewsuser` (`userid`, `username`, `password`, `rnd`, `adminclass`, `groupid`, `checked`, `styleid`, `filelevel`, `salt`, `loginnum`, `lasttime`, `lastip`, `truename`, `email`, `classid`, `pretime`, `preip`, `addtime`, `addip`, `userprikey`, `salt2`, `lastipport`, `preipport`, `addipport`, `uprnd`, `wname`, `tel`, `wxno`, `qq`) VALUES (NULL, 'admin', '40c7809c1c2961d3307377d016510418', 'ZUnqgkRVxYjw9OfmxSXH', '', '1', '0', '1', '0', '4foWi39D', '1', '1676284843', '117.173.161.253', '', '', '0', '0', '', '1676284829', '117.173.161.253', 'atZDXpHjRKCph5xL9w9PSP9o9DEE6tiky5ljLL1OgQmb01Xt', 'ln963nZtAEAZxw2Wlhrn', '15537', '15528', '15528', '', '', '', '', '');
INSERT INTO `phome_enewslink` (`lid`, `lname`, `lpic`, `lurl`, `ltime`, `onclick`, `width`, `height`, `target`, `myorder`, `email`, `lsay`, `checked`, `ltype`, `classid`) VALUES (NULL, '红穆博客', '', 'https://www.78moban.com/', '2050-02-09 02:27:32', '0', '88', '31', '_blank', '0', '', '', '1', '0', '0');
INSERT INTO `phome_enewslink` (`lid`, `lname`, `lpic`, `lurl`, `ltime`, `onclick`, `width`, `height`, `target`, `myorder`, `email`, `lsay`, `checked`, `ltype`, `classid`) VALUES (NULL, '在线网站缩略图生成', '', 'https://mkpic.78moban.com/', '2050-02-09 02:27:32', '0', '88', '31', '_blank', '0', '', '', '1', '0', '0');
INSERT INTO `phome_enewslink` (`lid`, `lname`, `lpic`, `lurl`, `ltime`, `onclick`, `width`, `height`, `target`, `myorder`, `email`, `lsay`, `checked`, `ltype`, `classid`) VALUES (NULL, '音乐小播放器', '', 'https://api.78moban.com/music/', '2050-02-09 02:27:32', '0', '88', '31', '_blank', '0', '', '', '1', '0', '0');
INSERT INTO `phome_enewsuseradd` (`userid`, `equestion`, `eanswer`, `openip`, `certkey`, `certtime`) VALUES (NULL, '0', '', '', '', '0');
INSERT INTO `phome_enewsmenuclass` (`classid`, `classname`, `issys`, `myorder`, `classtype`, `groupids`) VALUES (18, '技术服务', '0', '0', '18', '');
INSERT INTO `phome_enewsmenu` (`menuid`, `menuname`, `menuurl`, `myorder`, `classid`, `addhash`) VALUES (NULL, '技术支持', 'https://www.78moban.com/', '0', '18', '0');
sql代码 7.2用的
TRUNCATE phome_enewsuser;
TRUNCATE phome_enewslink;
TRUNCATE phome_enewsuseradd;
TRUNCATE phome_enewslog;
INSERT INTO `phome_enewsuser` (`userid`, `username`, `password`, `rnd`, `adminclass`, `groupid`, `checked`, `styleid`, `filelevel`, `salt`, `loginnum`, `lasttime`, `lastip`, `truename`, `email`, `classid`, `pretime`, `preip`, `addtime`, `addip`, `userprikey`, `salt2`, `lastipport`, `preipport`, `addipport`, `uprnd`) VALUES (NULL, 'admin', '40c7809c1c2961d3307377d016510418', 'ZUnqgkRVxYjw9OfmxSXH', '', '1', '0', '1', '0', '4foWi39D', '1', '1676284843', '117.173.161.253', '', '', '0', '0', '', '1676284829', '117.173.161.253', 'atZDXpHjRKCph5xL9w9PSP9o9DEE6tiky5ljLL1OgQmb01Xt', 'ln963nZtAEAZxw2Wlhrn', '15537', '15528', '15528', '');
INSERT INTO `phome_enewslink` (`lid`, `lname`, `lpic`, `lurl`, `ltime`, `onclick`, `width`, `height`, `target`, `myorder`, `email`, `lsay`, `checked`, `ltype`, `classid`) VALUES (NULL, '红穆博客', '', 'https://www.78moban.com/', '2050-02-09 02:27:32', '0', '88', '31', '_blank', '0', '', '', '1', '0', '0');
INSERT INTO `phome_enewslink` (`lid`, `lname`, `lpic`, `lurl`, `ltime`, `onclick`, `width`, `height`, `target`, `myorder`, `email`, `lsay`, `checked`, `ltype`, `classid`) VALUES (NULL, '在线网站缩略图生成', '', 'https://mkpic.78moban.com/', '2050-02-09 02:27:32', '0', '88', '31', '_blank', '0', '', '', '1', '0', '0');
INSERT INTO `phome_enewslink` (`lid`, `lname`, `lpic`, `lurl`, `ltime`, `onclick`, `width`, `height`, `target`, `myorder`, `email`, `lsay`, `checked`, `ltype`, `classid`) VALUES (NULL, '音乐小播放器', '', 'https://api.78moban.com/music/', '2050-02-09 02:27:32', '0', '88', '31', '_blank', '0', '', '', '1', '0', '0');
INSERT INTO `phome_enewsuseradd` (`userid`, `equestion`, `eanswer`, `openip`, `certkey`, `certtime`) VALUES (NULL, '0', '', '', '', '0');
INSERT INTO `phome_enewsmenuclass` (`classid`, `classname`, `issys`, `myorder`, `classtype`, `groupids`) VALUES (18, '技术服务', '0', '0', '18', '');
INSERT INTO `phome_enewsmenu` (`menuid`, `menuname`, `menuurl`, `myorder`, `classid`, `addhash`) VALUES (NULL, '技术支持', 'https://www.78moban.com/', '0', '18', '0');
猜你需要

豫ICP备2021026617号-1  豫公网安备:41172602000185   Copyright © 2021-2028 www.78moban.com/ All Rights Reserved

本站作品均来自互联网,转载目的在于传递更多信息,并不代表本站赞同其观点和对其真实性负责。如有侵犯您的版权,请联系 1565229909#qq.com(把#改成@),我们将立即处理。