first updata

This commit is contained in:
2024-02-26 18:17:15 +08:00
commit 1ec018ca90
162 changed files with 123649 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
from rest_framework.response import Response
from server.util.constant_util import *
def build_response(code=CODE_SUCCESS, msg='操作成功', data=''):
return Response({'code': code, 'msg': msg, 'data': data})