优化代码

dependabot/npm_and_yarn/fir_admin/url-parse-1.5.10
nineven 3 years ago
parent 42bab0739b
commit 5e380fa09e
  1. 5
      fir_ser/api/models.py

@ -412,9 +412,8 @@ class Order(models.Model):
created_time = models.DateTimeField(verbose_name="订单创建时间", auto_now_add=True)
description = models.TextField('备注', blank=True, null=True, default='')
def __str__(self):
return "%s-%s-%s" % (self.user_id, self.order_number, self.actual_amount / 100)
def __str__(self):
return "%s-%s-%s" % (self.user_id, self.order_number, self.actual_amount / 100)
class Price(models.Model):

Loading…
Cancel
Save