Exemple #1
0
def ajax_show_auto_in():
    date = request.args.get('date', '')  # 2013-09-01
    submit_user = request.args.get('submit_user', 'admin')
    results = recommentation_in_auto(date, submit_user)
    if not results:
        results = []
    return json.dumps(results)
def ajax_show_auto_in():
    date = request.args.get('date', '') # 2013-09-01
    submit_user = request.args.get('submit_user', 'admin')
    results = recommentation_in_auto(date, submit_user)
    if not results:
        results = []
    return json.dumps(results)
Exemple #3
0
def ajax_show_auto_in():
    #按关注用户推荐
    date = request.args.get('date', '2016-11-27') # 2013-09-01
    submit_user = request.args.get('submit_user', 'admin')
    node_type = request.args.get('node_type', 'user') # user  org
    results = recommentation_in_auto(date, submit_user, node_type)
    if not results:
        results = []
    return json.dumps(results)