自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 php 生成小程序圆形二维码、方形二维码,并且上传oss

<?phpnamespace app\api\controller;use app\api\controller\BaseController;use think\Db;use app\common\model\Goods as GoodsModel;use app\common\model\GoodsQrcode as GoodsQrcodeModel;use app\api\...

2018-07-20 17:49:54 5846

原创 key 取余

create table p_key(     id int primary key auto_increment,     name varchar(32))engine=myisam charset=utf8 partition by key(id)  partitions 5;

2018-06-13 16:45:23 138

原创 hash (取余) 分区

create table 表名(    `id` int auto_increment,    `name` varchar(50),    `birthday` date    primary key(`id`,`birthday`))engine=myisam charset=utf8partition by hash(month(birthdy)) partitions 12;   //将区...

2018-06-13 16:20:04 1437

原创 list 分区

create table 表名(    `id` int(11) auto_increment,    `name` varchar(50),    `store_id` int,                                     //关联id    primary key(`id`,`store_id`)                 //复合索引)engine=myis...

2018-06-13 15:42:45 475

原创 range(范围)分区

create table 表名(    `id` int(11) auto_increment,    `name` varchar(50),    `birthday` date,    primary key(`id`,`birthday`)                 //复合索引)engine=myisam charset=utf8partition by range (month(b...

2018-06-13 15:36:03 1183

原创 弹幕客户端

<!DOCTYPE html>  <html>  <head>      <meta charset="utf-8">      <title></title>  </head>    <style type="text/css">    *{  

2018-05-03 08:28:37 142

原创 弹幕服务器

<?php    //创建websocket服务器对象,监听0.0.0.0:9502端口  $ws = new swoole_websocket_server("0.0.0.0",9502);    //监听WebSocket连接打开事件  $ws->on('open', function ($ws, $request) {      var_dump($request->fd,...

2018-05-03 08:27:38 701

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除