Skip to content

Instantly share code, notes, and snippets.

View xx19941215's full-sized avatar
🎯
Focusing

xiaoxiao.ust xx19941215

🎯
Focusing
View GitHub Profile
CREATE TABLE `contract` (
`contactId` varbinary(21) NOT NULL,
`contractCode` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
`sellerId` varbinary(21) DEFAULT NULL,
`sellerName` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sellerAddress` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sellerTel` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sellerFax` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sellerContact` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sellerEmail` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
@xx19941215
xx19941215 / tmux-cheatsheet.markdown
Created March 7, 2018 09:08 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表

Tmux 快捷键 & 速查表

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

tmux at [-t 会话名]
<?php
header("Content-type: text/html; charset=utf-8");
define("ACCESS_TOKEN", "8_cry2qLxnZcVS3OVhreA-zCotfdjZsxz-6vKkB_0ifv42mH30F42W0ZnY6_w0FOXtiRCDjVs5RmRr45rznISGTfVbar9YyxvJJTnQBbOg6_SRdylaI-cs9Jlm8uUAIFfAIAPXU");
//创建菜单
function createMenu($data){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=".ACCESS_TOKEN);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
{
"topNavs": [
{
"id": 1,
"text": "网店运营",
"href": "//news.17main.com/news/list/1/25/?site=gz"
},
{
"id": 2,
"text": "时尚前沿",
{
"paginator": {
"total": 946,
"page_count": 95,
"per_page": 10,
"current_page": 2,
"next_page_url": "//help.17main.com/search?role=dangkou&current_page=3&q=%E6%9C%8D%E8%A3%85",
"previous_page_url": "//help.17main.com/search?role=dangkou&current_page=1&q=%E6%9C%8D%E8%A3%85"
},
{
"curArticle": {
"id": 201802020202212350,
"sortId": 12,
"parentSortName": "网店运营",
"title": "Zara开了一家只能线上购买的实体店",
"subTitle": "该店坐落在伦敦东部的购物中心里,而它也是这家西班牙零售业巨头整合线上和线下体验的最新举措。在这个200平的门店中,会为顾客提供一系列服装,且仅供在线购买。",
"icon": "//news.17zwd.com/images/2018/2/2//lIOfMm526585.jpg",
"content": "&lt;p style=&quot;line-height: 4em;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;; font-size: 14px;&quot;&gt;1月26日,Zara在Westfield Stratford的旗舰店即将在下周开始进行扩建和翻新,为了缓解施工期间过度拥挤问题,Zara准备在那先开设一个专门用于在线订单的临时店面。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 4em;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;; font-size: 14px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 4em;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;; font-size: 14px;&quot;&gt;该店坐落在伦敦东部的购物中心里,而它也是这家西班牙&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑, &amp;quot;Microsoft YaHei&amp;quot;; font-
<?php
return array (
'topNavs' =>
array (
0 =>
array (
'id' => 1,
'text' => '网店运营',
'href' => '//news.17main.com/news/list/1/25/?site=gz',
'icon' => '',
<?php
return array (
'curArticle' =>
array (
'id' => 201802020202212350,
'sortId' => 12,
'parentSortName' => '网店运营',
'title' => 'Zara开了一家只能线上购买的实体店',
'subTitle' => '该店坐落在伦敦东部的购物中心里,而它也是这家西班牙零售业巨头整合线上和线下体验的最新举措。在这个200平的门店中,会为顾客提供一系列服装,且仅供在线购买。',
'icon' => '//news.17zwd.com/images/2018/2/2//lIOfMm526585.jpg',
<?php
return
array (
'paginator' =>
array (
'total' => 54,
'page_count' => 6,
'per_page' => 10,
{
"siteNavigationBar": {
"gz": {
"id": "1",
"zdid": "42",
"zd_name": "广州",
"zd_prefix": "gz",
"zd_pinyin": "G",
"zd_code": "Q2FWl9",
"sort_index": "1200",