本文共 2020 字,大约阅读时间需要 6 分钟。
???????????????
????????????????????????????????????
????Dubbo????????????????????DubboControllerLogs????????
?????????????
ControllerInfoSerializer???????????InvokeSerializer????????????view.py?????????APIDubboApi?????Dubbo????????????????????????Dubbo???
??????????DubboInfosView??????Q?????????????????????????????????
DubboControllerLogs.objects.all()objects.filter(service_name__icontains=service_name, dubbo_method__icontains=dubbo_method)?????????DubboPagination???????
??????Element UI?????????????????utils???????http.js???????????MyHttpServer??????API???????URL?????????
?config/index.js??????????????????????
git clone https://github.com/your-project.gitcd your-projectpython manage.py settings.pyconfig.ini???zookeeper??pip install -r package.txtpython manage.py makemigrations?python manage.py migratepython manage.py runservergit clone https://github.com/your-project-frontend.gitcd your-project-frontendnpm installnpm run devDubbo??????????????????addStudent(UserAO user)?
{ "service_name": "com.zl.ITestService", "dubbo_method": "add", "params_type": "class", "params": { "class": "com.zl.entity.ao.UserAO", "school": ["1", "2"], "name": "zl", "tuofa": "true" }}??getStudent(Integer id, List name)?
{ "service_name": "com.zl.ITestService", "dubbo_method": "getStudent", "params_type": "others", "params": [123, ["zl"]]}no such method?????????????????{?data?:true}??Python?????"true"???????Dubbo???????????????????????????????????Django??????????????????????????????????????
???????????????????????????????
转载地址:http://swve.baihongyu.com/