|
@@ -6,6 +6,8 @@
|
|
|
@Email : zhangdongming@asj6.wecom.work
|
|
|
@Software: PyCharm
|
|
|
"""
|
|
|
+import time
|
|
|
+
|
|
|
from django.http import QueryDict
|
|
|
from django.views import View
|
|
|
from django.core.paginator import Paginator
|
|
@@ -167,7 +169,9 @@ class AgentCustomerView(View):
|
|
|
profit_type=profit_type,
|
|
|
cost=package.price,
|
|
|
profit=profit,
|
|
|
- status=1
|
|
|
+ status=1,
|
|
|
+ created_time=int(time.time()),
|
|
|
+ updated_time=int(time.time())
|
|
|
)
|
|
|
agent_service_package.save()
|
|
|
return response.json(0)
|