会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
鲨鱼大王
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
下一页
2020年5月12日
TP支付宝线上资金冻结
摘要: public function doAlipayAuth($user, $config, $order){ $sysconfig = Db::name("setting")->find(); vendor('alipays.AopSdk'); $aop = new \AopClient (); $a
阅读全文
posted @ 2020-05-12 17:52 鲨鱼大王
阅读(441)
评论(0)
推荐(0)
2020年5月6日
SVN 安装
摘要: 安装 使用yum安装非常简单: yum install subversion 配置 2.1. 创建仓库 我们这里在/home下建立一个名为svn的仓库(repository),以后所有代码都放在这个下面,创建成功后在svn下面多了几个文件夹。 [root@localhost /]# cd /home
阅读全文
posted @ 2020-05-06 15:19 鲨鱼大王
阅读(561)
评论(0)
推荐(0)
支付宝跳转方式
摘要: 1:直接根据支付宝码的内容跳转 alipayqr://platformapi/startapp?saId=10000007&clientVersion=3.7.0.0718&qrcode=https://qr.alipay.com/fkx07929cwlmu3r6grbagb92:直接跳转到转账,直
阅读全文
posted @ 2020-05-06 14:14 鲨鱼大王
阅读(15957)
评论(0)
推荐(0)
2020年4月29日
SSH保持长链接
摘要: 修改 /etc/ssh/sshd_config 添加以下3句 TCPKeepAlive yes ClientAliveInterval 60 ClientAliveCountMax 3 重启服务 service sshd restart systemctl reload sshd
阅读全文
posted @ 2020-04-29 10:04 鲨鱼大王
阅读(196)
评论(0)
推荐(0)
2020年4月26日
Html页面支付宝支付
摘要: function pay() { location.href = "https://ds.alipay.com/?from=mobilecodec&scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=10000007&
阅读全文
posted @ 2020-04-26 14:04 鲨鱼大王
阅读(4202)
评论(0)
推荐(0)
Discuz公共样式
摘要: 1、删除注册“会员” 由于论坛开始,注册会员较少,且会员数是论坛敏感隐私数据, 一般不要对外显示,因此需要删除注册会员数,步骤 discuz根目录——》template——》default——》forum——》discuz.htm 查找“<span class="pipe"> |</span>{la
阅读全文
posted @ 2020-04-26 13:50 鲨鱼大王
阅读(580)
评论(0)
推荐(0)
Discuz C::t
摘要: C::t方法的简单使用。一、C::t方法的好处:一是对象清楚,二是对形参格式化处理,三是可集中SQL语句,利于维护,四是安全性更高。二、具体用法,看下面的例子假设有一个名为test的插件,其中关于名为tbname的数据表操作的SQL旧式写法a.inc.php<?php……$query = DB::q
阅读全文
posted @ 2020-04-26 10:57 鲨鱼大王
阅读(400)
评论(0)
推荐(0)
Discuz常用变量
摘要: 论坛 帖子URL: {url}帖子标题: {title}附件图片: {pic}帖子内容: {summary}楼主: {author}楼主UID: {authorid}楼主头像: {avatar}楼主头像(中): {avatar_middle}楼主头像(大): {avatar_big}帖子图标: {i
阅读全文
posted @ 2020-04-26 10:55 鲨鱼大王
阅读(574)
评论(0)
推荐(0)
Discuz论坛模块通用函数
摘要: <?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * 论坛模块通用函数集合 * $Id: function_forum.php 24723
阅读全文
posted @ 2020-04-26 10:38 鲨鱼大王
阅读(869)
评论(0)
推荐(0)
Discuz数据库操作
摘要: 一、可以直接在 "/source/include/" 文件夹及子文件夹中的php程序文件中直接使用如下方式从数据表获取数据: //从pre_forum_groupuser表中通过 "source/class/table/table_forum_groupuser.php" 文件中的fetch_all
阅读全文
posted @ 2020-04-26 10:37 鲨鱼大王
阅读(361)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
下一页
公告