yf_ymm 5 anni fa
parent
commit
62515ab718
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      apps/Equipment/views.py

+ 1 - 1
apps/Equipment/views.py

@@ -3421,7 +3421,7 @@ class Create_User(ListView):
             userobj.is_staff = role
             userobj.user_remark = user_remark
             userobj.save()
-            return HttpResponse("0")
+            return HttpResponse("1")
         if MyUser.objects.extra(where=['binary username=%s'], params=[name]).exists():
             # 用户已存在!!!
             data = "3"