上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 114 下一页
摘要: $rec_code = Func::createInviteCode(); $r = true; while($r) { // 艹,语法错误导致,无限循环中,接口走不下去了 // $r = $user->where("rec_code",$rec_code)->find(); $r = $user- 阅读全文
posted @ 2020-07-31 09:55 TBHacker 阅读(432) 评论(0) 推荐(0) 编辑
摘要: //eg1 layer.confirm('纳尼?', { btn: ['按钮一', '按钮二', '按钮三'] //可以无限个按钮 ,btn3: function(index, layero){ //按钮【按钮三】的回调 } }, function(index, layero){ //按钮【按钮一】 阅读全文
posted @ 2020-07-30 16:57 TBHacker 阅读(9662) 评论(0) 推荐(0) 编辑
摘要: $ select-editor Select an editor. To change later, run 'select-editor'. 1. /bin/ed 2. /bin/nano < easiest 3. /usr/bin/code 4. /usr/bin/vim.basic 5. /u 阅读全文
posted @ 2020-07-29 14:58 TBHacker 阅读(1773) 评论(0) 推荐(0) 编辑
摘要: sudo git --git-dir=".git" pull origin master 等同于 sudo git pull origin master 也可以重命名.git sudo git --git-dir=".antgit" pull origin master 阅读全文
posted @ 2020-07-27 10:56 TBHacker 阅读(383) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-07-18 18:34 TBHacker 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-07-18 16:19 TBHacker 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-07-16 15:22 TBHacker 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-07-15 15:18 TBHacker 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 点击指向的那个图标。 用了大半年,终于知道了这个技巧。 阅读全文
posted @ 2020-07-14 18:33 TBHacker 阅读(8471) 评论(0) 推荐(1) 编辑
摘要: $order_item = M('order_item'); $order_item_list = $order_item->field(['*','sum(num) as num'])->group('sku_id')->order('num desc')->limit(10)->select() 阅读全文
posted @ 2020-07-10 17:41 TBHacker 阅读(793) 评论(0) 推荐(0) 编辑
摘要: <?php /** * Excel 助手 * sudo composer require phpoffice/phpspreadsheet */ namespace Common\Util; use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffic 阅读全文
posted @ 2020-07-08 10:57 TBHacker 阅读(445) 评论(0) 推荐(0) 编辑
摘要: <?php $host = '127.0.0.1'; $user = 'root'; $pwd = '123456'; $dbname = 'test'; // sql $sql = "delete from user where id=1;"; try { // 连接数据库 $conn = new 阅读全文
posted @ 2020-07-04 18:02 TBHacker 阅读(198) 评论(0) 推荐(0) 编辑
摘要: <?php /** * User: Eden * Date: 2019/3/21 * 共有内容 */ namespace Common\Util; use Vendor\Func\Http; class WxUtil extends CommonUtil { public function __co 阅读全文
posted @ 2020-07-03 15:24 TBHacker 阅读(578) 评论(0) 推荐(0) 编辑
摘要: <?php /** * User: Eden */ namespace Common\Util; use Vendor\Func\Http; class ExpressUtil extends CommonUtil { public function __construct() { parent:: 阅读全文
posted @ 2020-07-01 10:06 TBHacker 阅读(291) 评论(0) 推荐(0) 编辑
摘要: $('.required').each(function () { // 判断是否有子SPU var selected = $('#sub_spu').children('option:selected').val(); if (selected == 0) { if ($(this).hasCla 阅读全文
posted @ 2020-06-29 18:08 TBHacker 阅读(343) 评论(0) 推荐(0) 编辑
摘要: $tel = '0527-4566126'; $search = '/^(1(([356][0-9])|(47)|[8][0-9]|[7][0-9]|[9][0-9]))\d{8}$|^0[0-9]{2,3}[-]?\d{7,8}$/'; if (preg_match($search, $tel)) 阅读全文
posted @ 2020-06-29 11:31 TBHacker 阅读(953) 评论(0) 推荐(0) 编辑
摘要: // 过滤重复数组 function array_uniq(input_arr) { // 判断规格是否重复 var h={}; //定义一个hash表 var arr=[]; //定义一个临时数组 for(var i = 0; i < input_arr.length; i++){ //循环遍历当 阅读全文
posted @ 2020-06-23 18:29 TBHacker 阅读(2080) 评论(0) 推荐(1) 编辑
摘要: window.location.href='download_file?text=' + encodeURIComponent(text) + '&voice=' + voice + '&speech_rate=' + speech_rate; if (!$text = trim($_REQUEST 阅读全文
posted @ 2020-06-22 14:51 TBHacker 阅读(549) 评论(0) 推荐(0) 编辑
摘要: public function downFile($url, $file_name) { header('Content-Description: File Transfer'); header('Content-Type: application/vnd.android.package-archi 阅读全文
posted @ 2020-06-22 13:41 TBHacker 阅读(1602) 评论(0) 推荐(0) 编辑
摘要: 先安装sdk composer require alibabacloud/sdk 需要知道 AccessKeyID,AccessKeySecret <?php /** * composer require alibabacloud/sdk * 获取阿里云相关的token */ namespace C 阅读全文
posted @ 2020-06-22 13:38 TBHacker 阅读(1005) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 114 下一页