Commit 4eac817f authored by 张彦钊's avatar 张彦钊

add

parent a127c13a
......@@ -8,19 +8,10 @@ url="http://doris.paas-test.env/v1/once"
header_dict={'Content-Type': 'application/x-www-form-urlencoded'}
param_dict={}
param_dict["method"]="doris/recommend/detail_service"
# 日记详情页召回美购
param_detail = {"card_id":9362282, "card_type":"diary","size":10,"user_city_tag_id":328,
"device_id":"mike","read_service_ids":[]}
# 帖子详情页召回美购
# param_detail = {"card_id":20895840, "card_type":"usertopic","size":10,"user_city_tag_id":328,
# "device_id":"hello","read_service_ids":[]}
# 可视化召回
# param_detail = {"device_id":"3ab", "size":10,"offset":0,"user_city_tag_id":328,"recall_type":2,"unit_id":4,
# "sort_params":{"lat":0,"lng":0},"tag_ids":[],"filters":{},
# "new_tag_ids":[29]}
param_dict["method"]="doris/recommend/spu_detail_diary"
param_detail = {"device_id":"3ab", "size":10,"offset":0,"service_id":1437}
# tail -f filelog.log.20200701 | grep 3ab | grep doris/recommend/spu_detail_diary
param_dict["params"]=json.dumps(param_detail)
a = requests.post(url=url,data=param_dict,headers=header_dict)
......
......@@ -9,9 +9,9 @@ T3 = [430,538,603,376,623,670,550,660,400,674,606,395,382,543,572,468,638,412]
tag_value["t1_city"] = json.dumps(T1)
tag_value["t2_city"] = json.dumps(T2)
tag_value["t3_city"] = json.dumps(T3)
boniaosuan = [97,99,115,121,123,137,141,152,197,200,203,243,776,777,804,868,885,954,1055,6148]
chuzhoushoulian = [79, 117, 168, 205, 207, 237, 798, 842, 1801, 2033, 5077, 6148]
bibu = [2929, 9123, 8627, 2925, 2924, 2927, 2926, 115, 114, 116, 111, 110, 8464, 112, 234, 253, 7977, 9027, 232, 233, 797, 796, 26, 21, 22, 23, 106, 7151, 798, 9069, 2, 810, 24, 9063, 896, 897, 8394, 8773, 2073, 108, 109, 3285, 9047, 107, 105, 965, 966, 3038, 782, 7993, 803, 804, 806, 805, 65]
boniaosuan = [200, 777, 152, 1055, 885, 141, 197, 203, 121, 954, 115, 99, 123, 137, 97, 243, 804, 6148, 776, 868]
chuzhoushoulian = [6148, 205, 842, 1801, 798, 117, 2033, 207, 168, 237, 5077, 79]
bibu = [2929, 9123, 8627, 2925, 2924, 2927, 2926, 115, 114, 116, 111, 110, 8464, 112, 234, 253, 7977, 9027, 232, 233, 797,796, 26, 21, 22, 23, 106, 7151, 798, 9069, 2, 810, 24, 9063, 896, 897, 8394, 8773, 2073, 108, 109, 3285, 9047, 107, 105, 965, 966, 3038, 782, 7993, 803, 804, 806, 805, 65]
yanbu = [2923, 91, 88, 89, 64, 9012, 9050, 6163, 5057, 86, 87, 85, 975, 8865, 780, 878, 790, 953, 3459, 1, 92, 890, 2429, 777, 102, 90, 101, 95, 3050, 964, 6138, 15, 17, 19, 18, 3037, 940, 2417]
mianbulunkuo = [766, 7823, 130, 3001, 6146, 235, 81, 5060, 46, 45, 28, 29, 819, 3, 812, 813, 815, 817, 142, 143, 898, 899, 2932, 1136, 122, 124, 126, 127, 128, 129, 869, 900, 967, 30, 968, 969]
zhifangtianchong = [153, 198, 114, 7117, 136, 135, 886, 793, 875, 933, 201, 204, 140, 1233, 120, 98, 241, 125, 102, 225, 1024, 244, 805]
......@@ -25,7 +25,7 @@ xiaba = [784, 46, 130, 819, 131, 123, 124, 125, 126, 127, 128, 129, 252]
chunbu = [903, 12, 907, 904, 150, 1204, 863, 864, 2497, 149, 181, 134, 52, 31, 816]
shibaixiufu = [964, 965, 967, 210, 878, 2429, 968, 969, 971, 64, 65, 70, 82, 869, 81, 2950, 2951]
banyongjiu = [2954, 1370, 1114, 2054, 1080]
xiongbu = [7,66,69,70,210,212,220,241,785,870,871,954,2354,5724,6144,6145,8710]
xiongbu = [785, 66, 212, 6145, 210, 70, 954, 870, 871, 8710, 241, 5724, 7, 6144, 69, 2354, 220]
rule = {"t1_"+str(sorted(boniaosuan)):1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment