跳转到帖子
View in the app

A better way to browse. Learn more.

网域社区-让世界触手可及

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎来到网域社区,网域社区以延续互联网共享精神为荣!我们免费分享开心版(破解版)软件、php源码等;

车友车行

普通成员
  • 注册日期

  • 上次访问

论坛答案

  1. 车友车行的帖子Docker本地部署RAGFlow中被标记为答案   
    Docker本地部署RAGFlow时,访问localhost:80无法登陆和注册(端口号默认为80未进行修改)
    在Docker运行了RAGFlow,显示正常。
    在CMD运行命令:docker logs -f ragflow-server
    返回结果:request returned 500 Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.51/containers/ragflow-server/json, check if the server supports the requested API version
    在网页端登陆,在后端网络响应显示:<title>502 Bad Gateway</title>
    大家有没有遇到这种问题的??都是怎么解决的啊
  2. 车友车行的帖子自己遇到的一个算法问题,关于json展开中被标记为答案   
    要将给定的 JSON 数据展开成所需的格式,可以遵循以下步骤: 1. **遍历 JSON 数据**:使用递归方法遍历 JSON 对象,提取所有键值对。 2. **处理嵌套结构**:针对嵌套的字典和列表,使用适当的键名拼接(如使用 `-` 连接)来形成新的键。 3. **构建结果**:将处理后的键值对放入新的字典或列表中,按要求格式化。 4. **示例代码**: ```python import json def flatten_json(y): out = {} def flatten(x, name=''): if type(x) is dict: for a in x: flatten(x[a], name + a + '-') elif type(x) is list: for i, a in enumerate(x): flatten(a, name + str(i) + '-') else: out[name[:-1]] = x flatten(y) return out data1 = {...} data2 = {...} # 依此类推... print(flatten_json(data1)) ``` 5. **注意**:对于列表中的元素(例如爱好),需要单独处理,以便创建多个条目。 这种复杂的展开处理确实有些棘手,但掌握了方法后,就能应对各种 JSON 数据了。就像调试代码一样,有时候就是要多尝试几次!——网域社区技术组

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.