拍爱

price_utils.py 223B

12345678910
  1. # -*- coding: utf-8 -*-
  2. def get_group_photo_price(group_photo, photo_type):
  3. if photo_type == 'origin':
  4. return group_photo.origin
  5. elif photo_type == 'nomark':
  6. return group_photo.nomark
  7. return 0