Commit e1c59588 authored by 前端-许佳敏's avatar 前端-许佳敏

fix: 修改配置

parent 1e465688
......@@ -25,6 +25,7 @@ const getMallList = () => {
const getWebMallInfo = () => {
const shopInfo = SELF_CONFIG.web.shopInfo
console.log(shopInfo)
console.log('render')
const webMallList = shopInfo.filter((item: { isDefault: number; type: number }) => item.type === 6)
return webMallList[0]
}
......
{"userRegister":{"useType":[{"memberTypeId":1,"memberTypeName":"企业会员","businessTypes":[{"businessTypeId":2,"businessTypeName":"SRM采购商"},{"businessTypeId":3,"businessTypeName":"SRM供应商"}]},{"memberTypeId":2,"memberTypeName":"个人会员","businessTypes":[]},{"memberTypeId":3,"memberTypeName":"渠道企业会员","businessTypes":[]},{"memberTypeId":4,"memberTypeName":"渠道个人会员","businessTypes":[]}]},"web":{"shopInfo":[],"orderMode":[{"id":15,"platformType":3,"platformWayName":"请购单下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":14,"platformType":3,"platformWayName":"采购招标合同下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":13,"platformType":3,"platformWayName":"采购竞价合同下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":12,"platformType":3,"platformWayName":"采购询价合同下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":11,"platformType":3,"platformWayName":"渠道积分下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":10,"platformType":3,"platformWayName":"积分下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":9,"platformType":3,"platformWayName":"渠道现货手工下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":8,"platformType":3,"platformWayName":"渠道现货进货单下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":7,"platformType":3,"platformWayName":"渠道直采手工下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":6,"platformType":3,"platformWayName":"渠道直采进货单下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":5,"platformType":3,"platformWayName":"合并订单下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":4,"platformType":3,"platformWayName":"需求报价下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":3,"platformType":3,"platformWayName":"询价报价下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":2,"platformType":3,"platformWayName":"手工下单","isPitchOn":1,"platformTypeName":"下单模式"},{"id":1,"platformType":3,"platformWayName":"进货单下单","isPitchOn":1,"platformTypeName":"下单模式"}],"orderType":[{"id":12,"platformType":4,"platformWayName":"请购单采购","isPitchOn":1,"platformTypeName":"订单类型"},{"id":11,"platformType":4,"platformWayName":"采购招标合同","isPitchOn":1,"platformTypeName":"订单类型"},{"id":10,"platformType":4,"platformWayName":"采购竞价合同","isPitchOn":1,"platformTypeName":"订单类型"},{"id":9,"platformType":4,"platformWayName":"采购询价合同","isPitchOn":1,"platformTypeName":"订单类型"},{"id":8,"platformType":4,"platformWayName":"渠道积分兑换","isPitchOn":1,"platformTypeName":"订单类型"},{"id":7,"platformType":4,"platformWayName":"积分兑换","isPitchOn":1,"platformTypeName":"订单类型"},{"id":6,"platformType":4,"platformWayName":"渠道现货","isPitchOn":1,"platformTypeName":"订单类型"},{"id":5,"platformType":4,"platformWayName":"渠道直采","isPitchOn":1,"platformTypeName":"订单类型"},{"id":4,"platformType":4,"platformWayName":"集采","isPitchOn":1,"platformTypeName":"订单类型"},{"id":3,"platformType":4,"platformWayName":"现货采购","isPitchOn":1,"platformTypeName":"订单类型"},{"id":2,"platformType":4,"platformWayName":"需求采购","isPitchOn":1,"platformTypeName":"订单类型"},{"id":1,"platformType":4,"platformWayName":"询价采购","isPitchOn":1,"platformTypeName":"订单类型"}]},"global":{"siteInfo":{"id":1,"name":"米居采购商城","logo":"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/1111140a35f1cbcd64cd2a49de0317f13f97c.png","siteUrl":"mjsrm-test.shushangyun.com:12880","symbol":"¥","language":"China"}}}
\ No newline at end of file
{"userRegister":{"useType":[{"memberTypeId":1,"memberTypeName":"企业会员","businessTypes":[{"businessTypeId":2,"businessTypeName":"SRM采购商"},{"businessTypeId":3,"businessTypeName":"SRM供应商"}]},{"memberTypeId":2,"memberTypeName":"个人会员","businessTypes":[]},{"memberTypeId":3,"memberTypeName":"渠道企业会员","businessTypes":[]},{"memberTypeId":4,"memberTypeName":"渠道个人会员","businessTypes":[]}]},"web":{"shopInfo":[{"id":3,"name":"米居采购商城","type":6,"environment":1,"property":1,"memberOperate":0,"logoUrl":"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/B003E031-2ED4-4f26-A114-919C782ECFBDc6c1b8978df042cfa82a53b04665fe6e.png","state":1,"url":"mjsrm-test","isDefault":1,"createTime":1646388136588}],"orderMode":[{"id":12,"platformType":3,"platformWayName":"采购询价合同下单","isPitchOn":1,"platformTypeName":"下单模式"}],"orderType":[{"id":9,"platformType":4,"platformWayName":"采购询价合同","isPitchOn":1,"platformTypeName":"订单类型"}]},"global":{"siteInfo":{"id":5,"name":"米居采购商城","logo":"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/1111140a35f1cbcd64cd2a49de0317f13f97c.png","siteUrl":"mjsrm-test.shushangyun.com:12880","symbol":"¥","language":"China"}}}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment