session.conf 3.05 KB
# -*- coding: UTF-8 -*-


[RequstHeader_fresh]
header = {
	"Host": "10.28.12.154:8085",
	"Content-Type": "application/json",
	"referer": "https://servicewechat.com/wxd1405e5c40ff05db/0/page-frame.html",
	"apiusertoken": "dili-fresh-token",
	"charset": "utf-8",
	"Accept-Encoding": "gzip",
	"User-Agent": "Mozilla/5.0 (Linux; Android 7.0; HUAWEI NXT-AL10 Build/HUAWEINXT-AL10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/59.0.3071.125 Mobile Safari/537.36 MicroMessenger/6.7.3.1360(0x2607033D) NetType/WIFI Language/zh_CN Process/appbrand2"
	}

[basic_data_prepare]
#客户
instert_customer=INSERT INTO `customer` VALUES ('16', '00010966', null, '', '123456789012345678901234567890*a', '15111888983', 'wechat', null, 'oK0VK5HUZDfMbXw-1oMVr0--GZ4g', '1', '0', 'S002300', '00011000', 'unknown', '  ', null, '1', '2019-03-27 17:05:00', '2019-02-11 17:28:26', null);
#自提点
instert_shop=INSERT INTO `shop` VALUES ('116', '成都SAC新店0001', 'S001953', 'W000101', '00010953', '四川省成都市青羊区天府广场', null, '510100', null, '30.663420320381004', '104.07219216758062', null, '李老板', '15111888983', null, null, '天府广场', '3', null, '1', '1', '2019-02-11 14:12:01', null, null, null);
#商品
instert_product=INSERT INTO product.product VALUES ('301', '16', '猕猴桃', 'PD2019021000000001', '猕猴桃', 'dili-fresh/groupbuy/7f9fc034c2ec41e18b7560fc42a25abd', '2019-01-29 08:00:00', '2020-12-12 00:00:00', '2019-02-02 10:00:00', '2019-12-11 20:00:00', '600', '<p>预售商品,次日取货。</p><p>预计到店时间:2月3日14点之后。</p><p>到货后群内通知。</p><p><img style=\"max-width:100%;\" src=\"http://img10.nong12.com/dili-fresh/groupbuy/c4aa09d06af948f09269cd0d367fa623\"><br></p><p><br></p>', '2019-01-29 15:48:19', '1', '2019-02-02 10:13:33', '39', '4', '0', '400', '0');
#商品标签
instert_product_tag=INSERT INTO `product_tag` VALUES ('818', '1', '301', null, null, '2019-04-02 15:50:48', '2019-04-02 15:50:45');
#标签
instert_tag=INSERT INTO `tag` VALUES ('1', '年货爆款', '26', '2019-01-14 11:24:48', '26', '2019-03-05 14:13:46', '27');
#成都商品库存
instert_product_stock1=INSERT INTO `area_stock` VALUES ('502', '301', '0', '740', '185', '925', '1', '510100', '2019-04-01 17:11:28', '999', null, '2019-02-11 14:20:50', null, '490', '573', '3.00', '1', '0');
#沈阳商品库存
instert_product_stock2=INSERT INTO `area_stock` VALUES ('503', '301', '0', '998', '2', '1000', '1', '210100', '2019-04-01 17:11:28', '999', null, '2019-02-11 14:20:50', null, '9', '5', '3.00', '1', '0');
#钱包余额
instert_wallet=INSERT INTO `wallet` VALUES ('11845', '00010953', '1000', '0', '1000', '1', '0', '2019-02-11 12:08:50', '2019-02-11 12:08:50', null, null);
#优惠券
instert_coupon=INSERT INTO `customer_coupon` VALUES ('10014', '0', '00010966', 'C000452', '1', null, '1', '1', '600', '0', '2019-03-12 00:00:00', '2019-04-30 23:59:59', '2', '2019-03-12 11:02:08', null, '3');




[Database]
dbhost=10.28.10.169
dbport=3306
dbname=customer
dbuser=root
dbpassword=123456
dbcharset=utf8