问题来源,在简单的召回模型做好后怎么通信是一个问题,我要是负责推荐的所有流程的话,就不需要啥服务了,数据都在我自己手里,无非是左手传给右手。
all night awake !!!
all the time !!!
what a fucking life !!!
这个问题还得搜索,仍旧避免不了
py版本的请求方式如下:
url2='http://127.0.0.1:8020/test/'
result2=requests.post(url2,data=json.dumps({'uid': ['1234','345','926']}))
有没有json似乎都行,也有看到没用的。