locky 3 лет назад
Родитель
Сommit
d102896cb6
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      Model/models.py

+ 3 - 1
Model/models.py

@@ -1742,7 +1742,9 @@ class P2PIpModel(models.Model):
 
 class RequestRecordModel(models.Model):
     id = models.AutoField(primary_key=True, verbose_name=u'自增ID')
-    url = models.CharField(max_length=200, default='', verbose_name='请求url')
+    method = models.CharField(max_length=10, default='', verbose_name='请求类型')
+    url = models.CharField(max_length=200, default='', verbose_name='请求路径')
+    parameter = models.CharField(max_length=200, default='', verbose_name='请求参数')
     execute_time = models.FloatField(default=0, verbose_name='执行时间')
     status_code = models.CharField(max_length=10, default='', verbose_name='响应状态码')
     reason_phrase = models.CharField(max_length=200, default='', verbose_name='错误信息')