예제 #1
0
def ajax_apps_info_stats_ctr(id):
	app = do_or_abort(actions.apps.get_app, id, full=True)
	if app.user.id != g.user.id: abort(404)
	return json_get_ctr(app_id=app.id)
예제 #2
0
def ajax_apps_info_stats_ctr(id):
	app = do_or_abort(a.apps.get_app, id, full=True)
	return cmnviews.json_get_ctr(app_id=app.id)
예제 #3
0
def ajax_orders_info_stats_ctr(id):
	order = do_or_abort(actions.orders.get_order, id, full=True)
	if order.user.id != g.user.id: abort(404)
	return json_get_ctr(offer_id=order.offer_id)
예제 #4
0
def ajax_orders_info_stats_ctr(id):
	order = do_or_abort(a.orders.get_order, id, full=True)
	return cmnviews.json_get_ctr(offer_id=order.offer_id)