店铺设置
POST {{base_url}}/shop/shopSet
Header
参数名 | 类型 | 必需 | 描述 | 示例 |
---|---|---|---|---|
Authorization |
string | 1 | bearer {{token}} |
Body
参数名 | 类型 | 必需 | 描述 | 示例 |
---|---|---|---|---|
shop_type |
string | 1 | 店铺类型 | 1 |
shop_logo |
string | 0 | 店铺logo | user/shop/2020-04-03/5e86e98314220.png |
shop_describe |
string | 0 | 店铺简介 | |
shop_address |
string | 0 | 店铺地址 | |
longitude |
string | 0 | 经度 | |
latitude |
string | 0 | 纬度 | |
shop_time |
string | 0 | 营业时间 | |
exceed_money_send_goods |
string | 0 | 起送价格 | |
send_goods_time |
string | 0 | 送货时间(分钟) | |
distribution_fee |
string | 0 | 近距离配送费(3km内) | |
distribution_fee_old |
string | 0 | 原配送费 | |
distribution_fee_far |
string | 0 | 远距离配送费(3km外) |
详细说明
`shop_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',
`uid` int(11) NOT NULL COMMENT '用户uid',
`phone` varchar(11) NOT NULL DEFAULT '' COMMENT '手机号',
`shop_name` varchar(20) NOT NULL DEFAULT '' COMMENT '店铺名称',
`shop_logo` varchar(255) NOT NULL DEFAULT '' COMMENT '店铺logo',
`shop_type` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '店铺类目【1=便利店,2=炸鸡店】',
`shop_describe` varchar(255) NOT NULL DEFAULT '' COMMENT '店铺简介',
`shop_address` varchar(50) NOT NULL DEFAULT '' COMMENT '店铺地址',
`longitude` varchar(20) NOT NULL DEFAULT '0' COMMENT '经度',
`latitude` varchar(20) NOT NULL DEFAULT '0' COMMENT '维度',
`shop_status` tinyint(1) DEFAULT '0' COMMENT '店铺状态【0=待开店,1=开店,2=暂停营业】',
`shop_time` varchar(30) DEFAULT '' COMMENT '营业时间段',
`order_expiration_time` int(5) DEFAULT '0' COMMENT '订单过期时间',
`receipt_order_setting` tinyint(1) DEFAULT '1' COMMENT '接单设置【1=自动接单,2=手动接单】',
`star` decimal(2,1) DEFAULT '5.0' COMMENT '评价,初始为5',
`monthly_sale` int(11) DEFAULT '0' COMMENT '月售',
`exceed_money_send_goods` int(4) DEFAULT '0' COMMENT '多少钱起送',
`send_goods_time` tinyint(4) DEFAULT '0' COMMENT '送货时间(分钟)',
`distribution_fee` tinyint(4) DEFAULT '0' COMMENT '现配送费',
`distribution_fee_old` tinyint(4) DEFAULT '0' COMMENT '原配送费',
`shop_notices` varchar(255) DEFAULT '' COMMENT '店铺公告',
`status` tinyint(1) DEFAULT '0' COMMENT '审核状态【0=待审核,1=审核通过,2=审核不通过】',
`msg` varchar(255) DEFAULT '' COMMENT '审核信息',
`create_at` date DEFAULT NULL COMMENT '开店时间',
`update_at` int(11) DEFAULT '0' COMMENT '更新时间',
`is_recommend` tinyint(1) DEFAULT '0' COMMENT '是否推荐 【0=不推荐,1=推荐】',