暂无描述

url_utils.py 161B

12345678
  1. # -*- coding: utf-8 -*-
  2. from django.conf import settings
  3. def share_url(photo_id):
  4. return '{}/gp/{}'.format(settings.DOMAIN, photo_id) if photo_id else ''