def ajax_user_influence_detail(): uid = request.args.get('uid', '') date = request.args.get('date', '') uid = str(uid) results = get_user_influence(uid, date) return json.dumps(results)
def ajax_user_influence_detail(): uid = request.args.get("uid", "") date = request.args.get("date", "") uid = str(uid) date = str(date).replace("/", "") results = get_user_influence(uid, date) return json.dumps(results)