Commit fe5a481b by 施宇

1

parent b07abcd0
{"tinyType":"dingtalk","tinyCnName":"钉钉","tinyProjectType":"dingtalk-biz","dingtalk:dingtalk-biz-isv:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz-isv:compilePreviewTime":"","dingtalk:dingtalk-biz-isv:compilePreviewWholePackSize":"","dingtalk:dingtalk-biz-isv:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz-isv:_appIdList":[],"dingtalk:dingtalk-biz-isv:preAuditLimit":10,"dingtalk:dingtalk-biz-isv:preAuditUsed":0,"dingtalk:dingtalk-biz-isv:uploadTime":"","dingtalk:dingtalk-biz-isv:packageSize":"","dingtalk:dingtalk-biz-isv:auditLink":null,"dingtalk:dingtalk-biz-isv:whiteListLink":null,"dingtalk:dingtalk-biz-isv:_enableAutoPush":true,"dingtalk:dingtalk-biz-isv:lastDeviceName":"Nexus 6","SimulatorMode":"WINDOW","isSimulatorOpen":true,"isNotFirstToggleSimulator":true,"isSimulatorDefaultSticky":false,"dingtalk:dingtalk-biz:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz:compilePreviewTime":"2020-04-10 15:19:09","dingtalk:dingtalk-biz:compilePreviewWholePackSize":"70.5 KB","dingtalk:dingtalk-biz:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz:_appIdList":[{"orgName":"创宇天下科技有限公司","corpId":"ding93fe2dfb8cef1afd","orgId":9213150,"apps":[{"miniAppName":"DEMO","bizType":2,"miniAppId":"2018102261820458","icon":"https://static.dingtalk.com/media/lADPBY0V4-e-L6TNAZDNAbU_437_400.jpg"}]},{"orgName":"深圳市猎芯科技有限公司","corpId":"dinga60eaa15e871b53535c2f4657eb6378f","orgLogo":"@lALOiBEIWs0BOM0CgA","orgId":12488944,"apps":[{"miniAppName":"猎芯云仓","bizType":2,"miniAppId":"2021001152657489","icon":"https://static.dingtalk.com/media/lALPDfJ6OzgcKq5NTQ_77_77.png"}]}],"dingtalk:dingtalk-biz:preAuditLimit":10,"dingtalk:dingtalk-biz:preAuditUsed":0,"dingtalk:dingtalk-biz:uploadTime":"","dingtalk:dingtalk-biz:packageSize":"","dingtalk:dingtalk-biz:auditLink":null,"dingtalk:dingtalk-biz:whiteListLink":null,"dingtalk:dingtalk-biz:_enableAutoPush":false,"dingtalk:dingtalk-biz:_appId":"2018102261820458","dingtalk:dingtalk-biz:_appName":"DEMO","dingtalk:dingtalk-biz:_orgId":"9213150","dingtalk:dingtalk-biz:_corpId":"ding93fe2dfb8cef1afd","dingtalk:dingtalk-biz:remoteVersion":"0.0.1","dingtalk:dingtalk-biz:currentVersion":"0.0.2","dingtalk:dingtalk-biz:whiteList":["dd.yemxing.com","user.liexin.net","user.liexin.com"],"dingtalk:dingtalk-biz:h5WhiteList":[],"taobao:taobao-mini:tinyIcon":"https://gw.alicdn.com/tfs/TB1as1idqSs3KVjSZPiXXcsiVXa-21-21.svg","dingtalk:dingtalk-biz:lastDeviceName":"iPhone 6","dingtalk:dingtalk-biz:MockStore":{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91c2VyLmxpZXhpbi5uZXRcL2Rpbmd0YWxrXC9sb2dpbiIsImlhdCI6MTU4NjkzODAyOSwiZXhwIjoxNTg3MDI0NDI5LCJuYmYiOjE1ODY5MzgwMjksImp0aSI6Im9WdTRUVnJKRFNIVW5MQUQiLCJzdWIiOjE1NzgsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.Dg6s28j31eXtJGlyNkPlbV6SeBfF8k_7EcbUbTrrOZ0"},"compilerList":[{"title":"普通编译","query":"","page":""},{"title":"1","page":"pages/search/search","pageQuery":"type=3"},{"title":"2","page":"pages/screen/screen"},{"title":"3","page":"pages/detail/other/other","pageQuery":"id=204"},{"title":"4","page":"pages/pdf/pdf"},{"title":"5","page":"pages/detail/accountLimit/accountLimit","pageQuery":"id=217"},{"title":"6","page":"pages/detail/reimbursement/reimbursement","pageQuery":"id=204"},{"title":"7","page":"pages/detail/payment/payment","pageQuery":"id=191"},{"title":"8","page":"pages/pdf/pdf"},{"title":"9","page":"pages/tabs/alreadyApproval/alreadyApproval"}],"compilerIndex":0,"storageVersion":"1.5.10"} {"tinyType":"dingtalk","tinyCnName":"钉钉","tinyProjectType":"dingtalk-biz","dingtalk:dingtalk-biz-isv:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz-isv:compilePreviewTime":"","dingtalk:dingtalk-biz-isv:compilePreviewWholePackSize":"","dingtalk:dingtalk-biz-isv:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz-isv:_appIdList":[],"dingtalk:dingtalk-biz-isv:preAuditLimit":10,"dingtalk:dingtalk-biz-isv:preAuditUsed":0,"dingtalk:dingtalk-biz-isv:uploadTime":"","dingtalk:dingtalk-biz-isv:packageSize":"","dingtalk:dingtalk-biz-isv:auditLink":null,"dingtalk:dingtalk-biz-isv:whiteListLink":null,"dingtalk:dingtalk-biz-isv:_enableAutoPush":true,"dingtalk:dingtalk-biz-isv:lastDeviceName":"Nexus 6","SimulatorMode":"WINDOW","isSimulatorOpen":true,"isNotFirstToggleSimulator":true,"isSimulatorDefaultSticky":true,"dingtalk:dingtalk-biz:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz:compilePreviewTime":"2020-04-10 15:19:09","dingtalk:dingtalk-biz:compilePreviewWholePackSize":"70.5 KB","dingtalk:dingtalk-biz:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz:_appIdList":[{"orgName":"深圳市猎芯科技有限公司","corpId":"dinga60eaa15e871b53535c2f4657eb6378f","orgLogo":"@lALOiBEIWs0BOM0CgA","orgId":12488944,"apps":[{"miniAppName":"猎芯云仓","bizType":2,"miniAppId":"2021001152657489","icon":"https://static.dingtalk.com/media/lALPDfJ6OzgcKq5NTQ_77_77.png"}]},{"orgName":"创宇天下科技有限公司","corpId":"ding93fe2dfb8cef1afd","orgId":9213150,"apps":[{"miniAppName":"DEMO","bizType":2,"miniAppId":"2018102261820458","icon":"https://static.dingtalk.com/media/lADPBY0V4-e-L6TNAZDNAbU_437_400.jpg"}]}],"dingtalk:dingtalk-biz:preAuditLimit":10,"dingtalk:dingtalk-biz:preAuditUsed":0,"dingtalk:dingtalk-biz:uploadTime":"2020-04-16 16:07:07","dingtalk:dingtalk-biz:packageSize":"52.2 KB","dingtalk:dingtalk-biz:auditLink":null,"dingtalk:dingtalk-biz:whiteListLink":null,"dingtalk:dingtalk-biz:_enableAutoPush":false,"dingtalk:dingtalk-biz:_appId":"2021001152657489","dingtalk:dingtalk-biz:_appName":"猎芯云仓","dingtalk:dingtalk-biz:_orgId":12488944,"dingtalk:dingtalk-biz:_corpId":"dinga60eaa15e871b53535c2f4657eb6378f","dingtalk:dingtalk-biz:remoteVersion":"0.0.1","dingtalk:dingtalk-biz:currentVersion":"0.0.2","dingtalk:dingtalk-biz:whiteList":[],"dingtalk:dingtalk-biz:h5WhiteList":[],"taobao:taobao-mini:tinyIcon":"https://gw.alicdn.com/tfs/TB1as1idqSs3KVjSZPiXXcsiVXa-21-21.svg","dingtalk:dingtalk-biz:lastDeviceName":"iPhone 6","dingtalk:dingtalk-biz:MockStore":{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91c2VyLmxpZXhpbi5uZXRcL2Rpbmd0YWxrXC9sb2dpbiIsImlhdCI6MTU4NjkzODAyOSwiZXhwIjoxNTg3MDI0NDI5LCJuYmYiOjE1ODY5MzgwMjksImp0aSI6Im9WdTRUVnJKRFNIVW5MQUQiLCJzdWIiOjE1NzgsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.Dg6s28j31eXtJGlyNkPlbV6SeBfF8k_7EcbUbTrrOZ0"},"compilerList":[{"title":"普通编译","query":"","page":""},{"title":"1","page":"pages/search/search","pageQuery":"type=3"},{"title":"2","page":"pages/screen/screen"},{"title":"3","page":"pages/detail/other/other","pageQuery":"id=204"},{"title":"4","page":"pages/pdf/pdf"},{"title":"5","page":"pages/detail/accountLimit/accountLimit","pageQuery":"id=217"},{"title":"6","page":"pages/detail/reimbursement/reimbursement","pageQuery":"id=204"},{"title":"7","page":"pages/detail/payment/payment","pageQuery":"id=191"},{"title":"8","page":"pages/pdf/pdf"},{"title":"9","page":"pages/tabs/alreadyApproval/alreadyApproval"}],"compilerIndex":0,"alipay:alipay-mini:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/rcwFIauzePpMqlTzzanK.svg","alipay:alipay-mini:__LYRA_STORE__":{"size":{"height":"100%"},"device":{"displayName":"iPhone 6","width":375,"height":667,"userAgent":"Mozilla/6.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Mobile/14E269 ChannelId(0) Nebula AlipayDefined() AliApp(AP/10.1.55) AlipayClient/10.1.55 AlipayIDE","notch":false,"brand":"IPHONE"},"theme":"dark","themeVars":{},"language":"zh-CN","zoom":1,"pagePath":"pages/nav/nav","pageQuery":{},"location":{"longitude":"","latitude":""},"permissions":{},"authDetail":{},"scan":"","brightness":1,"clipboard":"","customDevices":[],"favorite":false,"mtop":{"env":"online"}},"storageVersion":"1.5.10"}
\ No newline at end of file \ No newline at end of file
{"OPENED_FILE":["file:///e%3A/DingProgram/blank/pages/screen/screen.axml","file:///e%3A/DingProgram/blank/pages/nav/nav.axml","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.json","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.json","file:///e%3A/DingProgram/blank/pages/search/search.js","file:///e%3A/DingProgram/blank/res/js/apis.js","file:///e%3A/DingProgram/blank/app.js","file:///e%3A/DingProgram/blank/res/js/axios.js","file:///e%3A/DingProgram/blank/pages/search/search.axml","file:///e%3A/DingProgram/blank/pages/login/login.axml","file:///e%3A/DingProgram/blank/app.acss","file:///e%3A/DingProgram/blank/res/css/detail.acss","file:///e%3A/DingProgram/blank/res/css/tab.acss","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js","file:///e%3A/DingProgram/blank/pages/detail/other/other.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.acss","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js","file:///e%3A/DingProgram/blank/pages/nav/nav.js","file:///e%3A/DingProgram/blank/pages/search/search.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/pages/pdf/pdf.axml","file:///e%3A/DingProgram/blank/pages/pdf/pdf.json","file:///e%3A/DingProgram/blank/pages/pdf/pdf.js","file:///e%3A/DingProgram/blank/pages/screen/screen.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.json","file:///e%3A/DingProgram/blank/res/js/aixos.js","file:///e%3A/DingProgram/blank/debug.log","file:///e%3A/DingProgram/blank/snapshot.png","file:///e%3A/DingProgram/blank/pages/screen/screen.acss","file:///e%3A/DingProgram/blank/pages/search/search.json","file:///e%3A/DingProgram/blank/pages/screen/screen.json","file:///e%3A/DingProgram/blank/pages/login/login.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.acss","file:///e%3A/DingProgram/blank/pages/login/login.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.acss"],"SEARCH_WORD":["catch","1"],"storageVersion":"1.5.10"} {"OPENED_FILE":["file:///e%3A/DingProgram/blank/res/js/axios.js","file:///e%3A/DingProgram/blank/res/js/apis.js","file:///e%3A/DingProgram/blank/app.js","file:///e%3A/DingProgram/blank/pages/search/search.js","file:///e%3A/DingProgram/blank/pages/nav/nav.axml","file:///e%3A/DingProgram/blank/pages/screen/screen.js","file:///e%3A/DingProgram/blank/pages/screen/screen.axml","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.json","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.json","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.json","file:///e%3A/DingProgram/blank/pages/search/search.axml","file:///e%3A/DingProgram/blank/pages/login/login.axml","file:///e%3A/DingProgram/blank/app.acss","file:///e%3A/DingProgram/blank/res/css/detail.acss","file:///e%3A/DingProgram/blank/res/css/tab.acss","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.js","file:///e%3A/DingProgram/blank/pages/detail/other/other.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.js","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.js","file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.acss","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.js","file:///e%3A/DingProgram/blank/pages/nav/nav.js","file:///e%3A/DingProgram/blank/pages/search/search.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.axml","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.axml","file:///e%3A/DingProgram/blank/app.json","file:///e%3A/DingProgram/blank/pages/pdf/pdf.axml","file:///e%3A/DingProgram/blank/pages/pdf/pdf.json","file:///e%3A/DingProgram/blank/pages/pdf/pdf.js","file:///e%3A/DingProgram/blank/pages/tabs/alreadyApproval/alreadyApproval.acss","file:///e%3A/DingProgram/blank/pages/tabs/waitApproval/waitApproval.json","file:///e%3A/DingProgram/blank/pages/tabs/launchApproval/launchApproval.json","file:///e%3A/DingProgram/blank/res/js/aixos.js","file:///e%3A/DingProgram/blank/debug.log","file:///e%3A/DingProgram/blank/snapshot.png","file:///e%3A/DingProgram/blank/pages/screen/screen.acss","file:///e%3A/DingProgram/blank/pages/search/search.json","file:///e%3A/DingProgram/blank/pages/screen/screen.json","file:///e%3A/DingProgram/blank/pages/login/login.js","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.acss","file:///e%3A/DingProgram/blank/pages/login/login.json","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.acss"],"SEARCH_WORD":["catch","1"],"storageVersion":"1.5.10"}
\ No newline at end of file \ No newline at end of file
{"grid":{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/detail/accountLimit/accountLimit.axml","file:///e%3A/DingProgram/blank/pages/detail/other/other.axml","file:///e%3A/DingProgram/blank/pages/detail/payment/payment.axml","file:///e%3A/DingProgram/blank/pages/detail/reimbursement/reimbursement.axml","file:///e%3A/DingProgram/blank/pages/nav/nav.axml","file:///e%3A/DingProgram/blank/pages/screen/screen.axml"],"current":"file:///e%3A/DingProgram/blank/pages/screen/screen.axml","previewIndex":-1}},"storageVersion":"1.5.10"} {"grid":{"editorGroup":{"uris":["file:///e%3A/DingProgram/blank/pages/search/search.js","file:///e%3A/DingProgram/blank/app.js","file:///e%3A/DingProgram/blank/res/js/apis.js","file:///e%3A/DingProgram/blank/res/js/axios.js"],"current":"file:///e%3A/DingProgram/blank/res/js/axios.js","previewIndex":-1}},"storageVersion":"1.5.10"}
\ No newline at end of file \ No newline at end of file
The file could not be displayed because it is too large.
import apis from './apis'; import apis from './apis';
const host1 = 'http://approval.liexin.net';//开发环境 // const host1 = 'http://approval.liexin.net';//开发环境
// const host1 = '';//生产环境 const host1 = 'http://shenpi.ichunt.net';//生产环境
const host2 = 'http://user.liexin.net';//开发环境 // const host2 = 'http://user.liexin.net';//开发环境
// const host2 = '';//生产环境 const host2 = 'http://user.ichunt.net';//生产环境
const axios = ({ method = 'GET', url1, url2, data = {}, isLoading = true }) => { const axios = ({ method = 'GET', url1, url2, data = {}, isLoading = true }) => {
let url = url1 ? (host1 + url1) : (host2 + url2); let url = url1 ? (host1 + url1) : (host2 + url2);
isLoading && isLoading &&
......
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 sign in to comment