config1.ts 548 Bytes
/*
 * @Description: 配置
 * @Author: huyue
 * @Date: 2022-10-10 10:54:14
 * @LastEditors: huyue
 * @LastEditTime: 2023-03-09 16:22:40
 */
const fetchConfig1 = function (isEnv = true) {
  // return window.fetch('http://oss-config.dev.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json())
  return window.fetch('https://oss-config.test.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json())
}
// const $mockConfig = await fetchConfig()
export default fetchConfig1