Skip to content

Commit

Permalink
Merge pull request #243 from Ehco1996/dev
Browse files Browse the repository at this point in the history
remove ssr support
  • Loading branch information
Ehco1996 authored Aug 13, 2019
2 parents f0018f2 + 500e384 commit bd785f1
Show file tree
Hide file tree
Showing 91 changed files with 3,057 additions and 3,737 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,9 @@ apps/Alipay_pub.pem
*.dat

#PyCharm
.idea/
.idea/

static/admin/
static/jet/
static/range_filter/
*.log
30 changes: 17 additions & 13 deletions apps/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,31 @@

app_name = "api"
urlpatterns = [
path("user/data/", views.userData, name="userdata"),
path("node/data/", views.nodeData, name="nodedata"),
path("donate/data/", views.donateData, name="donatedata"),
path("random/port/", views.change_ss_port, name="changessport"),
path("system_status/", views.SystemStatusView.as_view(), name="system_status"),
path("user/settings/", views.UserSettingsView.as_view(), name="user_settings"),
path("subscribe/", views.SubscribeView.as_view(), name="subscribe"),
path("reset_ss_port/", views.ReSetSSPortView.as_view(), name="reset_ss_port"),
path("gen/invitecode/", views.gen_invite_code, name="geninvitecode"),
path("shop/", views.purchase, name="purchase"),
path("traffic/query/", views.traffic_query, name="traffic_query"),
path("change/theme/", views.change_theme, name="change_theme"),
path("change/sub_type/", views.change_sub_type, name="change_sub_type"),
path("checkin/", views.checkin, name="checkin"),
# 邀请码接口
path("get/invitecode/", views.get_invitecode, name="get_invitecode"),
path("checkin/", views.UserCheckInView.as_view(), name="checkin"),
# web api 接口
path("nodes/<int:node_id>", views.node_api, name="get_node_info"),
path("nodes/online", views.node_online_api, name="post_onlineip"),
path(
"users/nodes/<int:node_id>", views.node_user_configs, name="node_user_configs"
"user_ss_config/<int:node_id>/",
views.UserSSConfigView.as_view(),
name="user_ss_config",
),
path("traffic/upload", views.traffic_api, name="post_traffic"),
path("nodes/aliveip", views.alive_ip_api, name="post_aliveip"),
# 支付
path("orders", views.OrderView.as_view(), name="order"),
path("callback/alipay", views.ailpay_callback, name="alipay_callback"),
# user stats
path(
"user/stats/ref_chart", views.UserRefChartView.as_view(), name="user_ref_chart"
),
path(
"user/stats/traffic_chart",
views.UserTrafficChartView.as_view(),
name="user_traffic_chart",
),
]
Loading

0 comments on commit bd785f1

Please sign in to comment.