def ajax_penetration_total(): xnr_user_no = request.args.get('xnr_user_no', '') start_time = request.args.get('start_time', '') end_time = request.args.get('end_time', '') results = penetration_total(xnr_user_no, start_time, end_time) return json.dumps(results)
def ajax_penetration_total(): xnr_user_no = request.args.get('xnr_user_no','') start_time = request.args.get('start_time','') end_time = request.args.get('end_time','') if S_TYPE == 'test': start_time = datetime2ts('2017-10-01') end_time = datetime2ts('2017-10-07') results = penetration_total(xnr_user_no,start_time,end_time) return json.dumps(results)