import request from '@/utils/request'

// api地址
const api = {
	data: 'store/data'
}

const infoShop = {
	"status": 200,
	"message": "success",
	"data": {
		"storeInfo": {
			"store_id": 10001,
			"store_name": "信飞通",
			"describe": "感谢您选择信飞通，信飞通是全新推出的一款轻量级、高性能、前后端分离的ktboss系统",
			"logo_image_id": 0,
			"image_url": null,
			"logoImage": null
		},
		"client": "H5",
		"setting": {
			"app_theme": {
				"gradualChange": 1,
				"mainBg": "#fa2209",
				"mainBg2": "#ff6335",
				"mainText": "#ffffff",
				"viceBg": "#ffb100",
				"viceBg2": "#ffb900",
				"viceText": "#ffffff"
			},
			"page_category_template": {
				"style": 20,
				"shareTitle": "全部分类",
				"showAddCart": true,
				"cartStyle": 1
			},
			"points": {
				"points_name": "积分",
				"describe": "a) 积分不可兑现、不可转让,仅可在本平台使用;\nb) 您在本平台参加特定活动也可使用积分,详细使用规则以具体活动时的规则为准;\nc) 积分的数值精确到个位(小数点后全部舍弃,不进行四舍五入)\nd) 买家在完成该笔交易(订单状态为“已签收”)后才能得到此笔交易的相应积分,如购买商品参加店铺其他优惠,则优惠的金额部分不享受积分获取;"
			},
			"recharge": {
				"is_entrance": 1,
				"is_custom": 1,
				"describe": "1. 账户充值仅限微信在线方式支付，充值金额实时到账；\n2. 账户充值套餐赠送的金额即时到账；\n3. 账户余额有效期：自充值日起至用完即止；\n4. 若有其它疑问，可拨打客服电话400-000-1234"
			},
			"register": {
				"registerMethod": 10,
				"isManualBind": 1,
				"isOauthMpweixin": 1,
				"isOauthMobileMpweixin": 1
			},
			"customer": {
				"enabled": 1,
				"provider": "mpwxkf",
				"config": {
					"mpwxkf": []
				}
			}
		},
		"clientData": {
			"h5": {
				"setting": {
					"enabled": true,
					"baseUrl": "https:\/\/shop2.client.yiovo.com\/"
				}
			}
		}
	}
}

// 获取商城基础信息
const data = () => {
	return infoShop
}

export default {
	infoShop
}