Merge branch 'tamron' of http://git.xfoto.com.cn/Kodo/kodo into tamron

FFIB 4 年 前
コミット
360ca7df08
共有2 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 1 1
      api/complement_views.py
  2. 2 2
      logs/models.py

+ 1 - 1
api/complement_views.py

@@ -33,4 +33,4 @@ def complement_code(request):
33 33
 
34 34
     return response(data={
35 35
         'log_id': log.log_id,
36
-    })
36
+    })

+ 2 - 2
logs/models.py

@@ -117,13 +117,13 @@ class MchSearchModelAndCameraLogInfo(BaseModelMixin):
117 117
 
118 118
 class ComplementCodeLogInfo(BaseModelMixin):
119 119
     AUDIT_TODO = 0
120
-    AUDIT_REFUSED = -1
121 120
     AUDIT_PASS = 1
121
+    AUDIT_REFUSED = 10
122 122
 
123 123
     AUDIT_STATUS_TUPLE = (
124 124
         (AUDIT_TODO, u'待审核'),
125
-        (AUDIT_REFUSED, u'审核不通过'),
126 125
         (AUDIT_PASS, u'审核通过'),
126
+        (AUDIT_REFUSED, u'审核不通过'),
127 127
     )
128 128
 
129 129
     user_id = models.CharField(_(u'user_id'), max_length=32, blank=True, null=True, help_text=u'用户唯一标识', db_index=True)