摘要:Listen 443 <VirtualHost *:443> #extra/httpd-ssl.confDocumentRoot "D:\web\student"ServerName student.weihom.netSSLEngine on # Proxy ConfigSSLProxyEngin
阅读全文
摘要://获取拿货上级 public function getTakeGoodsMember($member_id) { $allMember = Db::query("SELECT id,superior_userid,user_name,level_id,take_goods_userid FROM
阅读全文
摘要:<?phpset_time_limit(0);ini_set('memory_limit', '128M'); $fileName = date('YmdHis', time());header('Content-Encoding: UTF-8');header("Content-type:appl
阅读全文
摘要:<?php namespace addons\takeoutshop\common\model; use GatewayWorker\Lib\Gateway;use think\Db;use addons\takeoutshop\common\model\TakeoutshopToolAllStat
阅读全文
摘要:<?php namespace lib; use think\Cache; class Weapp { const MSGTYPE_TEXT = 'text'; const MSGTYPE_IMAGE = 'image'; const MSGTYPE_LOCATION = 'location'; c
阅读全文
摘要:<?php // + // 应用公共文件/** * 获取随机数的长度 * @param type $length 随机数长度 * @return string */use think\Db;use think\Cookie;use lib\Rsa;use think\File;use think\R
阅读全文
摘要:function GetHttp() { if (isset($_SERVER['HTTPS']) && ('1' == $_SERVER['HTTPS'] || 'on' == strtolower($_SERVER['HTTPS']))) { return "https://"; } elsei
阅读全文
摘要:function verifySign($params,$apikey="PvXTgIhJOkRZnfOs9JQ7SANnV5KfsHTJ") { ksort($params); $string=""; foreach ($params as $k => $v) { if($k != "sign"
阅读全文
摘要:<?php namespace lib; use think\Loader; /** * Description of aliyunsms * * @author lsf */class Wepay { /*服务商支付 * appid公众号APPID,appsecret公众号appsecret,mc
阅读全文
摘要:<?php namespace lib; use lib\errorCode; class WXBizDataCrypt{ private $appid; private $sessionKey; /** * 构造函数 * @param $sessionKey string 用户在小程序登录后获取的
阅读全文
摘要:<?php namespace lib; /** * Description of Qrcode * * @author lsf */class HuaweiyunPls { public $recordDomain; public $realUrl; public $APP_KEY; public
阅读全文
摘要:<?php namespace lib; /** * Description of Excel * * @author lsf */use think\Exception;use think\Loader; class Excel { /** * TP5 Excel专用类库 * $excel=new
阅读全文
摘要:<?php namespace lib; use think\Loader;use Aliyun\Core\Config;use Aliyun\Core\Exception\ClientException;use Aliyun\Core\Profile\DefaultProfile;use Aliy
阅读全文
摘要:<?php namespace lib; use think\Loader; /** * Description of aliyunsms * * @author lsf */class Alipay { /** * * @param type $option ordersn单号,title订单名称
阅读全文
摘要:<?php /** * Description of Rsa * * @author lsf */ namespace lib; class BaiDuTsapi { //apk='1amCKqfKoSobuxXg3q1Q1rYiUOX7czX9' //put your code here //创建
阅读全文
摘要:<?php /** * Description of Rsa * * @author lsf */ namespace lib; class GaoDeTsapi { //put your code here //创建服务 static public $service_add = "https://
阅读全文
摘要:<?php /* * PHP QR Code encoder * * This file contains MERGED version of PHP QR Code library. * It was auto-generated from full version for your conven
阅读全文
摘要:<?php namespace lib; use think\Loader; /** * Description of Qrcode * * @author lsf */class Qiniu { private $bucket; private $uploadMgr; private $qiniu
阅读全文
摘要:<?php namespace lib; /** * Description of Qrcode * 网云发送短信 * @author lsf */class Wangyuncms { /** * 多个发送短信 * @param type $mobile * @param type $setting
阅读全文
摘要:<?php namespace lib; /** * Description of Map * * @author lsf */class Map{ const x_PI = 52.35987755982988; const PI = 3.1415926535897932384626; const
阅读全文
摘要:<?php namespace lib; /** * Description of Area * * @author lsf */class Area{ // 一个表示区域的三维数组 protected $config = null; // 包含每个区域的四边形 protected $rectang
阅读全文
摘要:<?php /** * 签名助手 2017/11/19 * * Class SignatureHelper */class SignatureHelper { /** * 生成签名并发起请求 * * @param $accessKeyId string AccessKeyId (https://ak
阅读全文
摘要:<?php /** * 备份数据库的扩展类 */class Baksql { private $config = []; private $handler; private $tables = array(); //需要备份的表 private $begin; //开始时间 private $err
阅读全文
摘要:<?php namespace lib; /** * Description of Poster * * @author lsf */class Poster { //put your code here// header("Content-type:image/png");// imagepng(
阅读全文
摘要:<?php /** * Description of Rsa * * @author lsf */ namespace lib; class Rsa { //put your code here static public $private_parm = null; static public $p
阅读全文
摘要:S_CodeListFilterModel model = new S_CodeListFilterModel(); model.batchCode = Request.Form["batchparam"]; var cookieValueArray = CookieManager.GetKey(R
阅读全文