star function

This commit is contained in:
chenyang
2022-07-23 08:46:47 +08:00
parent 690dcd2418
commit 08038cefd7
7 changed files with 43 additions and 27 deletions
+1 -1
View File
@@ -2,5 +2,5 @@ from rest_framework.response import Response
from server.util.constant_util import *
def build_response(code=CODE_SUCCESS, msg='', data=''):
def build_response(code=CODE_SUCCESS, msg='操作成功', data=''):
return Response({'code': code, 'msg': msg, 'data': data})