Authored by ccbikai

修改端口

... ... @@ -15,8 +15,8 @@ module.exports = {
port: 6004,
siteUrl: '//m.yohoblk.com',
domains: {
api: 'http://192.168.102.205:8080/gateway/',
service: 'http://192.168.102.205:8080/gateway/'
api: 'http://devapi.yoho.cn:58078/',
service: 'http://devservice.yoho.cn:58077/'
},
subDomains: {
host: '.m.yohoblk.com',
... ...
... ... @@ -36,7 +36,7 @@
$.ajax({
url: '/channel/channel.json'
}).then(res => {
if (res.data.length) {
if (res.data && res.data.length) {
const channel = [];
res.data.forEach(c => {
... ...