company only
This commit is contained in:
parent
ffbaaf6549
commit
6a1fa23e1b
|
@ -3,4 +3,4 @@ ENV = 'production'
|
|||
|
||||
# base 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: {
|
||||
userInfo: {},
|
||||
userinfo: {}, // 服务器传回的消费者信息
|
||||
host: 'https://apitest.ctcshe.com',
|
||||
mediahost: 'https://apitest.ctcshe.com',
|
||||
host: 'https://apitest.ahctc.cn',
|
||||
mediahost: 'https://apitest.ahctc.cn',
|
||||
//host: 'http://127.0.0.1:8000',
|
||||
//mediahost: 'http://127.0.0.1:8000',
|
||||
token : '',
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
"newFeature": true,
|
||||
"coverView": true,
|
||||
"autoAudits": false,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"scopeDataCheck": false,
|
||||
"checkInvalidKey": true,
|
||||
"checkSiteMap": true,
|
||||
"uploadWithSourceMap": true,
|
||||
|
@ -19,9 +21,8 @@
|
|||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"scopeDataCheck": false,
|
||||
"useCompilerModule": false
|
||||
"useCompilerModule": true,
|
||||
"userConfirmedUseCompilerModuleSwitch": false
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"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='父')
|
||||
|
||||
class Meta:
|
||||
|
|
Loading…
Reference in New Issue