@ywfe/cli
Version:
遥望前端开发命令行工具
271 lines (266 loc) • 9.47 kB
HTML
<html lang="zh-cn">
<head>
<meta charset="UTF-8" />
<title>遥望云</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="遥望云,遥望直播运营支撑平台" />
<meta http-equiv="x-dns-prefetch-control" content="on" />
<link rel="dns-prefetch" href="//cdn.ywwl.com" />
<link rel="dns-prefetch" href="//g.alicdn.com" />
<link rel="dns-prefetch" href="//wwcdn.weixin.qq.com" />
<link
href="https://unpkg.ywwl.com/@wangeditor/editor@5.1.14/dist/css/style.css"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdn.ywwl.com/libs/antd/4.16.13/antd.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.ywwl.com/bps/ywDesign/%ywDesign%/index.umd.css"
/>
<link
rel="stylesheet"
href="https://cdn.ywwl.com/libs/ppfish/%ppfish%/ppfish.min.css"
/>
<script>
let script = document.createElement('script');
script.src = `https://ywfedps.oss-cn-hangzhou.aliyuncs.com/devops/prod/ywCloud_prod_config.js?v=${Math.random()}`;
document.getElementsByTagName('script')[0].appendChild(script);
</script>
<script src="https://cdn.ywwl.com/bps/ywyun/framework/react.js"></script>
<script src="https://cdn.ywwl.com/bps/ywyun/framework/react-dom.js"></script>
<script src="https://cdn.ywwl.com/bps/ywyun/framework/ywfe-request.umd.0.10.64.js?v=20220922"></script>
<script src="https://yun-test.ywwl.com/yw-router-cloud.umd.js"></script>
<script>
var defaultConfig = {
mock: {
API_BASE_URL: 'http://yapi.ywfe.com/mock',
APPLICATION_URL: '',
},
dev: {
API_BASE_URL: 'https://dev-gateway.ywwl.com',
APPLICATION_URL: 'https://yun-dev.ywwl.com',
NEW_APPLICATION_URL: 'https://yun-dev.ywwl.com',
},
test: {
API_BASE_URL: 'https://test-gateway.ywwl.com',
APPLICATION_URL: 'https://yun-test.ywwl.com',
NEW_APPLICATION_URL: 'https://yun-test2.ywwl.com',
},
test2: {
API_BASE_URL: 'https://test2-gateway.ywwl.com',
APPLICATION_URL: 'https://yun-test2.ywwl.com',
},
test3: {
API_BASE_URL: 'https://test-gateway.ywwl.com',
APPLICATION_URL: 'https://yun-test3.ywwl.com',
},
pre: {
API_BASE_URL: 'https://gateway.ywwl.com',
APPLICATION_URL: 'https://yun-grey.ywwl.com',
},
prod: {
API_BASE_URL: 'https://gateway.ywwl.com',
APPLICATION_URL: 'https://yun.ywwl.com',
},
};
var configs = {
// 默认配置
DEFAULT: defaultConfig,
// 营销中心
PRO_MARKETING: defaultConfig,
// 结算中心
PRO_SETTLE: defaultConfig,
// 供应商中心
PROSUPPLIER: defaultConfig,
// 用户中心
PROAUTH: defaultConfig,
// 商品中心
PROGOODS: defaultConfig,
// 直播中心
PRO_XY_LIVE: defaultConfig,
// 电虎
PRO_DIANHU: defaultConfig,
// 电狼
PRO_DIANLANG: defaultConfig,
// 客服中心
PRO_CUSTOMERSERVICE: defaultConfig,
// oms
PRO_OMS: defaultConfig,
// 开发平台
PRO_DEVPLATFORM: defaultConfig,
// 配置
LOGTEXT: defaultConfig,
COMMON: {
mock: {
API_BASE_URL: 'http://yapi.ywfe.com/mock',
APPLICATION_URL: '',
},
dev: {
API_BASE_URL: 'https://dev-generic-api.ywwl.com',
APPLICATION_URL: 'https://yun-dev.ywwl.com',
},
test: {
API_BASE_URL: 'https://test-generic-api.ywwl.com',
APPLICATION_URL: 'https://yun-test.ywwl.com',
},
test2: {
API_BASE_URL: 'https://test2-generic-api.ywwl.com',
APPLICATION_URL: 'https://yun-test2.ywwl.com',
},
test3: {
API_BASE_URL: 'https://test-generic-api.ywwl.com',
APPLICATION_URL: 'https://yun-test3.ywwl.com',
},
pre: {
API_BASE_URL: 'https://generic-api.ywwl.com',
APPLICATION_URL: 'https://yun-grey.ywwl.com',
},
prod: {
API_BASE_URL: 'https://generic-api.ywwl.com',
APPLICATION_URL: 'https://yun.ywwl.com',
},
},
DING_TALK: {
mock: {
CB_URL: 'https://yun.ywwl.com/login',
APPID: 'dingoalin2gwh8gkrln214',
},
dev: {
CB_URL: 'https://yun-dev.ywwl.com/login',
APPID: 'dingoalin2gwh8gkrln214',
},
test: {
CB_URL: 'https://yun-test.ywwl.com/login',
APPID: 'dingoamci9opuonpnbfi05',
},
test2: {
CB_URL: 'https://yun-test2.ywwl.com/login',
APPID: 'dingoaaucx9bbeufvzdyvm',
},
test3: {
CB_URL: 'https://yun-test.ywwl.com/login',
APPID: 'dingoamci9opuonpnbfi05',
},
test2: {
DING_CB_URL: 'https://yun-test2.ywwl.com/login',
DING_APPID: 'dingoamci9opuonpnbfi05',
},
pre: {
CB_URL: 'https://yun-grey.ywwl.com/login',
APPID: 'dingoal2pwz2md6zj26rsn',
},
prod: {
CB_URL: 'https://yun.ywwl.com/login',
APPID: 'dingoal2pwz2md6zj26rsn',
},
},
CWX_TALK: {
mock: {
CB_URL: 'https://yun.ywwl.com/login',
APPID: 'wwe2ddee10b7984df5',
AGENTID: '1000008',
},
dev: {
CB_URL: 'https://yun-dev.ywwl.com/login',
APPID: 'wwe2ddee10b7984df5',
AGENTID: '1000008',
},
test: {
CB_URL: 'https://yun-test.ywwl.com/login',
APPID: 'wwe2ddee10b7984df5',
AGENTID: '1000009',
},
test2: {
CB_URL: 'https://yun-test2.ywwl.com/login',
APPID: 'wwe2ddee10b7984df5',
AGENTID: '1000010',
},
test3: {
CB_URL: 'https://yun-test.ywwl.com/login',
APPID: 'wwe2ddee10b7984df5',
AGENTID: '1000010',
},
pre: {
CB_URL: 'https://yun-grey.ywwl.com/login',
APPID: 'wwe2ddee10b7984df5',
AGENTID: '1000011',
},
prod: {
CB_URL: 'https://yun.ywwl.com/login',
APPID: 'wwe2ddee10b7984df5',
AGENTID: '1000011',
},
},
// 电虎websocket
WEBSOCKET: {
dev: {
WS_URL: 'ws://test-api-dianhu.ywwl.com',
},
test: {
WS_URL: 'wss://test-api-dianhu.ywwl.com',
},
pre: {
WS_URL: 'wss://api-dianhu.ywwl.com',
},
prod: {
WS_URL: 'wss://api-dianhu.ywwl.com',
},
},
// 数据埋点服务
YWDW: {
dev: {
APPLICATION_URL: '',
API_BASE_URL: 'https://dev-ywdc-data-collection.ywwl.com',
},
test: {
APPLICATION_URL: '',
API_BASE_URL: 'https://test-ywdc-data-collection.ywwl.com',
},
test2: {
APPLICATION_URL: '',
API_BASE_URL: 'https://test-ywdc-data-collection.ywwl.com',
},
pre: {
APPLICATION_URL: '',
API_BASE_URL: 'https://ywdc-data-collection.ywwl.com',
},
prod: {
APPLICATION_URL: '',
API_BASE_URL: 'https://ywdc-data-collection.ywwl.com',
},
},
};
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="app"></div>
<script type="module" src="./index.tsx"></script>
<script src="https://cdn.ywwl.com/bps/ywyun/framework/moment-zh.min.js"></script>
<script src="https://cdn.ywwl.com/libs/antd/4.16.13/antd.min.js"></script>
<!-- <script
src="https://cdn.ywwl.com/bps/ywyun/framework/ant-design-icons.js"
crossorigin="anonymous"
></script> -->
<script src="https://cdn.ywwl.com/bps/ywyun/framework/ant-design-icons.js?v=20220120"></script>
<script src="https://cdn.ywwl.com/bps/ywDesign/%ywDesign%/index.umd.js"></script>
<script>
var VERSION_PLACEHOLDER = '1.0';
</script>
<script src="https://ywfedps.oss-cn-hangzhou.aliyuncs.com/packages/@ywfe/materials-render/0.2.0/dist/index.umd.js"></script>
<!-- 钉钉 JDK -->
<script src="https://g.alicdn.com/dingding/dinglogin/0.0.5/ddLogin.js"></script>
<!-- 企业微信 JDK -->
<script src="https://wwcdn.weixin.qq.com/node/wework/wwopen/js/wwLogin-1.2.4.js"></script>
<script src="https://cdn.ywwl.com/bps/ywyun/framework/antd-pro-table.min.js?v=20220120"></script>
<script src="https://cdn.ywwl.com/bps/ywyun/framework/charts.min.js?v=20220120"></script>
<script src="https://cdn.ywwl.com/bps/ywyun/framework/fp2.js?v=20220120"></script>
<script src="https://cdn.ywwl.com/libs/ppfish/%ppfish%/ppfish.min.js"></script>
<script src="https://yw-fed-static.oss-cn-hangzhou.aliyuncs.com/aliyun/aliyun-oss-sdk.min.js"></script>
</body>
</html>