From 5ba2cc2c73f463d6d4b70860aa51fa304695a5ba Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 17 Feb 2023 00:26:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8D=E7=A7=B0=E5=92=8C=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/settings.py | 3 ++- server/urls.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server/settings.py b/server/settings.py index 5ecf51fe..350ec3bb 100755 --- a/server/settings.py +++ b/server/settings.py @@ -28,7 +28,8 @@ DEBUG = conf.DEBUG ALLOWED_HOSTS = ['*'] -SYS_VERSION = '1.02.00' +SYS_NAME = 'XT_EHS' +SYS_VERSION = '2.00.00' # Application definition diff --git a/server/urls.py b/server/urls.py index 5acb9506..88cc5416 100755 --- a/server/urls.py +++ b/server/urls.py @@ -24,8 +24,8 @@ from django.views.generic import TemplateView schema_view = get_schema_view( openapi.Info( - title="EHS API", - default_version='v1', + title=settings.SYS_NAME, + default_version=settings.SYS_VERSION, contact=openapi.Contact(email="caoqianming@foxmail.com"), license=openapi.License(name="MIT License"), ),