1234567891011121314151617181920 |
- # coding=utf-8
- from django.db import transaction
- from rest_framework.views import APIView
- from rest_framework.decorators import action
- from rest_framework import generics
- from utils import response_ok
- from apps.account import tenant_log
- from apps.foundation.models import BizLog, Config
- from rest_framework.exceptions import NotFound
- class XGJ():
- @staticmethod
- def drive_reserve(instance): #试驾预约单
- xgj_ip = Config.getConfigValue(Config.KEY_XGJ_IP)
- xgj_session_key = Config.getConfigValue(Config.KEY_XGJ_SESSION_KEY)
- if xgj_ip and xgj_session_key:
- pass
|