company only
This commit is contained in:
parent
ffbaaf6549
commit
6a1fa23e1b
|
@ -3,4 +3,4 @@ ENV = 'production'
|
||||||
|
|
||||||
# base api
|
# base api
|
||||||
# VUE_APP_BASE_API = '/prod-api'
|
# VUE_APP_BASE_API = '/prod-api'
|
||||||
VUE_APP_BASE_API = 'https://apitest.ctcshe.com'
|
VUE_APP_BASE_API = 'https://apitest.ahctc.cn'
|
||||||
|
|
|
@ -57,8 +57,8 @@ App({
|
||||||
globalData: {
|
globalData: {
|
||||||
userInfo: {},
|
userInfo: {},
|
||||||
userinfo: {}, // 服务器传回的消费者信息
|
userinfo: {}, // 服务器传回的消费者信息
|
||||||
host: 'https://apitest.ctcshe.com',
|
host: 'https://apitest.ahctc.cn',
|
||||||
mediahost: 'https://apitest.ctcshe.com',
|
mediahost: 'https://apitest.ahctc.cn',
|
||||||
//host: 'http://127.0.0.1:8000',
|
//host: 'http://127.0.0.1:8000',
|
||||||
//mediahost: 'http://127.0.0.1:8000',
|
//mediahost: 'http://127.0.0.1:8000',
|
||||||
token : '',
|
token : '',
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
"newFeature": true,
|
"newFeature": true,
|
||||||
"coverView": true,
|
"coverView": true,
|
||||||
"autoAudits": false,
|
"autoAudits": false,
|
||||||
|
"showShadowRootInWxmlPanel": true,
|
||||||
|
"scopeDataCheck": false,
|
||||||
"checkInvalidKey": true,
|
"checkInvalidKey": true,
|
||||||
"checkSiteMap": true,
|
"checkSiteMap": true,
|
||||||
"uploadWithSourceMap": true,
|
"uploadWithSourceMap": true,
|
||||||
|
@ -19,9 +21,8 @@
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
},
|
},
|
||||||
"showShadowRootInWxmlPanel": true,
|
"useCompilerModule": true,
|
||||||
"scopeDataCheck": false,
|
"userConfirmedUseCompilerModuleSwitch": false
|
||||||
"useCompilerModule": false
|
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "2.10.3",
|
"libVersion": "2.10.3",
|
||||||
|
|
|
@ -9,7 +9,7 @@ class Company(CommonModel):
|
||||||
'''
|
'''
|
||||||
客户企业
|
客户企业
|
||||||
'''
|
'''
|
||||||
name = models.CharField(max_length=60, verbose_name='名称')
|
name = models.CharField(max_length=60, verbose_name='名称', unique=True)
|
||||||
pid = models.ForeignKey('self', null=True, blank=True, on_delete=models.SET_NULL, verbose_name='父')
|
pid = models.ForeignKey('self', null=True, blank=True, on_delete=models.SET_NULL, verbose_name='父')
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
Loading…
Reference in New Issue