模块绑定二级域名之后,伪静态规则无法生效,模块二级域名信息打开显示404 可以单独建立一个conf文件,然后在二级域名的配置文件中引用 规则如下 location / { rewrite ^(.*)/file/(.*)\.php(.*)$ /404.php last; rewrite ^(.*)-h ...
分类:
其他好文 时间:
2018-12-10 11:36:23
阅读次数:
207
模板中添加替换注意一下css和对应的链接地址 ...
分类:
移动开发 时间:
2018-12-05 12:39:13
阅读次数:
214
实现代码如下 <?php $shuxing = $t[itemid]; $b = $db->get_one("select value from destoon_category_value where itemid='$shuxing'"); echo $b[value]; ?> 使用时,注意表前 ...
分类:
其他好文 时间:
2018-12-05 12:13:24
阅读次数:
516
会员公司主页扫描二维码手机上显示空白,查看源码扫描的二维码后面多了:88端口号,可以修改page.js中function Dqrcode()的 DTPath+'api/qrcode.png.php?auth='+encodeURIComponent(url) 为 DTPath+'api/qrcode ...
分类:
移动开发 时间:
2018-12-04 11:39:05
阅读次数:
187
在list-sell.htm中添加的 <?php $a = $t[itemid]; $b = $db->get_one("select value from destoon_category_value where itemid='$a'"); echo $b[value]; ?> ...
分类:
其他好文 时间:
2018-12-04 11:23:06
阅读次数:
225
# Destoon B2B Rewrite Rules ErrorDocument 404 /404.php RewriteEngine On RewriteBase / RewriteRule ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ ...
分类:
Web程序 时间:
2018-11-20 17:40:20
阅读次数:
169
如图; 这个是发布的时候 开启快递,下订单的时候就不会生成密码 ,不开启就可以生成。 如图; 这个是发布的时候 开启快递,下订单的时候就不会生成密码 ,不开启就可以生成。 ...
分类:
其他好文 时间:
2018-11-14 10:24:58
阅读次数:
185
在api/extend.func.php文件中加入下面的函数 function xh_favorite($mid,$itemid){ global $db; $nums = $db->get_one("SELECt COUNT(*) AS num FROM {$db->pre}favorite WH ...
分类:
其他好文 时间:
2018-11-14 10:24:36
阅读次数:
280
destoon发布信息标题重复不能发布信息 比如供应 重复标题不能让发布 1.module/sell/sell.class.php 增加这个函数 function title_exists($title) { $condition = "title='$title'"; return $this-> ...
分类:
其他好文 时间:
2018-10-15 12:18:55
阅读次数:
370
<!-- flowchart 箭头图标 勿删 --> 目录/文件 说明 /admin 系统核心后台管理 ├ image 后台风格 ├ template 后台模板 /api 系统及第三方接口 ├ kf 在线客服 ├ map 电子地图 ├ oauth 一键登录 ├ pay 支付接口 ├ stats 第三 ...
分类:
其他好文 时间:
2018-10-11 15:10:49
阅读次数:
170