def ajax_get_remark(): uid = request.args.get('uid', '') uid = str(uid) results = search_remark(uid) if not results: results = '' return json.dumps(results)
def ajax_get_remark(): uid = request.args.get("uid", "") uid = str(uid) results = search_remark(uid) if not results: results = "" return json.dumps(results)