def ajax_get_top_weibo(): uid = request.args.get('uid', '') date = request.args.get('date', '') style = request.args.get("style", 0) uid = str(uid) date = str(date).replace('/', '-') results = influenced_detail(uid, date, style) return json.dumps(results)
def ajax_get_top_weibo(): uid = request.args.get('uid', '') date = request.args.get('date', '') style = request.args.get("style", 0) # 1:origin, 2:retweet, 3:comment order = request.args.get("order", 1) # 1:sensitive, 2:retweet, 3:comment, 4:ts uid = str(uid) order = int(order) results = influenced_detail(uid, date, style, order) return json.dumps(results)
def ajax_get_top_weibo(): uid = request.args.get("uid", "") date = request.args.get("date", "") style = request.args.get("style", 0) uid = str(uid) date = str(date).replace("/", "-") results = influenced_detail(uid, date, style) return json.dumps(results)