GithubHelp home page GithubHelp logo

quanxiang-cloud / quanxiang Goto Github PK

View Code? Open in Web Editor NEW
132.0 4.0 33.0 22.33 MB

QuanXiang is a powerful, pluggable open source low-code platform used to assist in building various types of digital applications for enterprises.

Home Page: https://www.quanxiang.dev/

License: Apache License 2.0

Mustache 95.56% Shell 0.58% Smarty 2.77% JavaScript 1.09%
devops kubernetes low-code no-code nocode form paas workflow workflows custom-component

quanxiang's Introduction

Quanxiang Cloud Logo


QuanXiang

QuanXiang is a powerful, pluggable open source low-code platform.

English| 中文

GitHub contributors GitHub issues GitHub stars GitHub forks Twitter Follow

Website | Demo | Documentation | Guide | Community

Introduction

QuanXiang is a cloud-native, fully containerized, open source, low-code platform used to assist in building various types of digital applications for enterprises. The platform currently provides two application development modes: no-code and low-code on the cloud, and supports visual design, allowing developers and business users to quickly complete application development through simple drag-and-drop and parameter configuration. As a multi-application integration and management platform integrating low-code development capability, identity authentication capability and container DevOps capability, QuanXiang supports rapid application building, easy maintenance and management of applications, integration of enterprise stock business and full-image cloud building business.

Features

QuanXiang builds a low-code ecosystem around application design, development, deployment, operation and maintenance. The core capabilities of the platform are as follows:

🚀 Rapid application development
  • Visual designer: Users can complete form, workflow, data_models, and permissions through simple drag and drop, parameter configuration, etc.
  • Form engine: Provides rich page components.
  • Workflow engine: Supports a variety of triggering methods and process components, and provides the ability of a rule engine to meet the logic definitions of complex businesses.
  • ☁️ Cloud deployment operation and maintenance
  • QuanXiang is based on Kubernetes deployment, CI/CD continuous delivery deployment.
  • Support the deployment and operation and maintenance of different cloud vendors.
  • Provide system log, support to view all operation records.
  • 🤖 Multi-terminal adaptation Apply one-time design and adapt flexibly to multiple ends. Support one-click publishing as WEB App, Native App, WeChat Applet.
    🧑‍💻 Organization management
  • Corporate directory: Provide a variety of ways to manage the corporate directory to help companies quickly build an organization.
  • Role management: Enterprise role permissions are subdivided to ensure platform account access security and data security.
  • 🗂 System connectivity
  • Supports data connection between applications, providing data connection capabilities of different granularity, for example, data linkage update between tables and interaction between fields.
  • Provide solution integration of different granularities, such as: component integration, page integration, application integration.
  • 🧩 Pluggable open source QuanXiang is a cloud native, distributed architecture platform system. Core services (except for aggregated services) are completely decoupled and low cohesive, and services are accessed through API interfaces.

    Architecture

    QuanXiang uses a loosely-coupled architecture that separates the frontend from the backend. It provides a plug-and-play, microservices architecture and embraces the diversity of languages and developer frameworks. The platform is divided into: application layer, docking layer, data processing layer and basic layer.

    architecture_en

    Installation

    QuanXiang privodes a deployment tool, which can help user to quckly deploy QuanXiangCloud low-code platform with a single line of command . QuangXiang deployment tool support most of popular K8S release, currently supported for installation in KubeSphere environments.

    ✨ Installing on a Kubesphere environment

    Get Started using QuanXiang

    See our Getting Started guide over in our docs.

    Component Open Source Project

    Service Function Planned open source date
    structor It's a abstract layer between bussiness layer and database, that will make users easy to use database without database knowledge. 2022/5/17
    process Process engine kernel: process model definition, process scheduling and instance data logging. 2022/6/6
    persona Application Configuration Center: Application personalized configuration data storage. 2022/7/1
    kms Key management: platform key management and signature verification, external key proxy and authentication. To be determined

    Interaction

    quanxiang's People

    Contributors

    ding-insper avatar hqc19907228 avatar iris-guoy avatar kevinlee607 avatar qxp-platform avatar sunnywx avatar

    Stargazers

     avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

    Watchers

     avatar  avatar  avatar  avatar

    quanxiang's Issues

    安装后,使用过程报错

    Failed to load resource: the server responded with a status of 400 (Bad Request)
    api/v1/search/user?query=%7Bquery%28departmentID%3A%221%22%2Cname%3A%22%22%2Cpage%3A1%2Csize%3A10%29%7Busers%7Bid%2Cphone%2Cposition%2Cemail%2Cname%2CuseStatus%2Cdepartments%7Bid%2Cname%2Cattr%7D%2Cleaders%7Bid%2Cname%2Cattr%7D%7D%2Ctotal%7D%7D:1 Failed to load resource: the server responded with a status of 400 (Bad Request)
    chunk-index-4903ac74.js:1 Error
    at T (chunk-http-client-aae260f1.js:1:2646)
    at async ae (chunk-selected-list-e5e83160.js:1:6979)
    onError @ chunk-index-4903ac74.js:1
    chunk-index-4903ac74.js:1 Error: 审批人未填写
    at chunk-http-client-aae260f1.js:1:1114
    (anonymous) @ chunk-index-4903ac74.js:1
    api/v1/search/user?query=%7Bquery%28departmentID%3A%221%22%2Cname%3A%22%22%2Cpage%3A1%2Csize%3A10%29%7Busers%7Bid%2Cphone%2Cposition%2Cemail%2Cname%2CuseStatus%2Cdepartments%7Bid%2Cname%2Cattr%7D%2Cleaders%7Bid%2Cname%2Cattr%7D%7D%2Ctotal%7D%7D:1 Failed to load resource: the server responded with a status of 400 (Bad Request)
    api/v1/search/user?query=%7Bquery%28departmentID%3A%221%22%2Cname%3A%22%22%2Cpage%3A1%2Csize%3A10%29%7Busers%7Bid%2Cphone%2Cposition%2Cemail%2Cname%2CuseStatus%2Cdepartments%7Bid%2Cname%2Cattr%7D%2Cleaders%7Bid%2Cname%2Cattr%7D%7D%2Ctotal%7D%7D:1 Failed to load resource: the server responded with a status of 400 (Bad Request)
    chunk-index-4903ac74.js:1 Error
    at T (chunk-http-client-aae260f1.js:1:2646)
    at async ae (chunk-selected-list-e5e83160.js:1:6979)
    onError @ chunk-index-4903ac74.js:1
    d @ chunk-index-4903ac74.js:1
    (anonymous) @ chunk-index-4903ac74.js:1
    DevTools failed to load source map: Could not load content for http://portal.linkagt.com:30118/dist/css/antd.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load source map: Could not load content for http://vendors.linkagt.com:30118/[email protected]/system.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load source map: Could not load content for http://vendors.linkagt.com:30118/[email protected]/react-is.production.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

    最新的代码编译后,镜像拉取有问题

    configs 文件只修改了,域名和master节点ip;

    操作过程如下:
    git clone https://github.com/quanxiang-cloud/quanxiang.git
    cd quanxiang
    git checkout main

    修改configs.yml文件中

    关于域名和无法解析时候域名一致,还有master节点IP

    #编译
    CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o installApp main.go
    编译成功,

    安装

    ./installApp start -k ~/.kube/config -i -n lowcode

    中间件安装成功

    数据库自动操作成功

    安装软件有问题,出现镜像拉取有问题

    进行数据库操作

    将下面值写入数据库

    数据库gits(host,ssh, known_hosts)操作

    INSERT INTO gits (id, host, token, name, created_at, updated_at, deleted_at, created_by, updated_by, deleted_by, tenant_id, known_hosts, ssh) VALUES
    ('J2P57lAN', 'qxcr.xyz/', '', 'rsa', 1654857150396, 1654857150396, 0, '', '', '', '', 'WzE5Mi4xNjguMjA4LjNdOjEwMDIyIHNzaC1lZDI1NTE5IEFBQUFDM056YUMxbFpESTFOVEU1QUFBQUlPU0x3eHV6bXNuQ2RmcENoNGFuaUZCVDF2U040UUtUcUFZYlhVdHJHN0k4ClsxOTIuMTY4LjIwOC4zXToxMDAyMiBzc2gtcnNhIEFBQUFCM056YUMxeWMyRUFBQUFEQVFBQkFBQUJBUURFdXVZSW5aQW5wNUJGalV2MWdTVGp4RDJud2J2c2xVSUZGa2Z2TXRNRUs1cVROc0RUUGpWejlVSmZDSldnd2pjcUpkRXZWYVZNZlpMN3dWUlpUMnJreTJDUlJPNnFWdGFPeWpET3pXSzBhb1duc241L2VFdlVFM05SbGpqW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GZ1dMcXJVV2p3QUFBTUVBNWVpQ000Y2lvbkl4Z1oxNApUM0doWWpQQjR4R205WmsxalM0NWt5SXpHUWtNb3ExTjVlTGdGS0tzbEZIVzJ1V3RJOElURVg5Ym5NTTFIamxNYitYcjVhCjZzUyttRGZSTnVpNTFyc3hzcWY5em1CNFljZmtyYXRtbEU2QVdiMklGNEZOcU1BUUkrT0pFZm1Tb2c5Umdhc2dXcjY0dWgKT2tXMnpGamZNTTAzT21BL1pwbC9QTE43aEFpUCt3d2xQeXhSQzNySnk3SXJOODk1TDlUWDVJZ0d5eVFkeVBuakdOM1kzdAo4SXFldzVIZUhlSm1xQVQwendjVCs4N1hGa0VXZ2JBQUFBd1FESjRMVkN2Mk9nVXUvZ0RXUFZTbGpwNlRVRkJOZDVscUV5CnVyYmtycHZ5VWNnbVlFaXJjZi80S3JxbEgwb25CRjR3R0NXVGNkZzZtK3MyZjVWSnFmZ29YbFRTZFNSSmVEQUFFZkdzL1YKNUxsbU54ZFZuVlkzeTJaRXFSNXpzNWQ3RDVqam1NMFkzc1NHME5MTWQwVmtSeXVFdmNaRkI4Qm0yNFh2WDNtWUlnc3pWbgp6VXhZS1h1eTVCKzd2TFVGWk9ac0VmTWQxOHFDdkhvQnQrd0lrVnFXdElqNytqZG5JcFlzR2lpdTZObHRMa3MxMyswcnRhCnlCUDFYZTZ0TURTMEVBQUFBV2VtaGxibXhwYm1ScGJtZEFlWFZ1YVdaNUxtTnZiUUVDQXdRRgotLS0tLUVORCBPUEVOU1NIIFBSSVZBVEUgS0VZLS0tLS0K');

    数据库操作dockers(host,user_name,secret,name)

    INSERT INTO dockers (id, host, user_name, name_space, secret, name, created_at, updated_at, deleted_at, created_by, updated_by, deleted_by, tenant_id) VALUES ('1', 'qxcr.xyz/', 'qxptest', 'privitetest/', 'ZHU**jie9', 'qxcr', null, null, null, null, null, null, null);

    重新执行安装指令

    ./installApp start -k ~/.kube/config -i -n lowcode
    自动退出时候
    打印
    panic: runtime error: index out of range [0] with length 0

    goroutine 1 [running]:
    quanxiang/pkg.ModifyValuesFile({0xc000547780, 0x31}, {0x7ffefe6b37e7, 0x7}, 0xc0000a7880, 0x0)
    /root/quanxiang/pkg/modifyValues.go:189 +0x1a33
    quanxiang/pkg.Start({0x7ffefe6b37ce, 0x12}, {0x7ffefe6b37e7, 0x7}, {0x163ab54, 0x15}, {0x162fe87, 0xc}, {0x162fa39, 0xb}, ...)
    /root/quanxiang/pkg/startInstall.go:97 +0x1377
    quanxiang/cmd.Execute.func2(0xc0002dd900?, {0x1629e9e?, 0x5?, 0x5?})
    /root/quanxiang/cmd/InstallApp.go:74 +0x2a5
    github.com/spf13/cobra.(*Command).execute(0xc0002dd900, {0xc0000966e0, 0x5, 0x5})
    /root/golang/work/pkg/mod/github.com/spf13/[email protected]/command.go:860 +0x663
    github.com/spf13/cobra.(*Command).ExecuteC(0x22bc920)
    /root/golang/work/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3b4
    github.com/spf13/cobra.(*Command).Execute(...)
    /root/golang/work/pkg/mod/github.com/spf13/[email protected]/command.go:902
    quanxiang/cmd.Execute()
    /root/quanxiang/cmd/InstallApp.go:96 +0x525
    main.main()
    /root/quanxiang/main.go:22 +0x17

    镜像拉取有问题

    image

    部署报错

    panic: runtime error: index out of range [0] with length 0
    goroutine 1 [running]:
    quanxiang/pkg.ModifyValuesFile({0xc000368540, 0x31}, {0x7fffc67067fb, 0x7}, 0xc00011ee00, 0x0)
    /root/quanxiang/pkg/modifyValues.go:189 +0x1a33
    quanxiang/pkg.Start({0x7fffc67067e2, 0x12}, {0x7fffc67067fb, 0x7}, {0x1641261, 0x15}, {0x1636584, 0xc}, {0x1636136, 0xb}, ...)
    /root/quanxiang/pkg/startInstall.go:97 +0x1377
    quanxiang/cmd.Execute.func2(0xc0002fe280?, {0x16305ba?, 0x5?, 0x5?})
    /root/quanxiang/cmd/InstallApp.go:74 +0x2a5
    [github.com/spf13/cobra.(*Command).execute(0xc0002fe280](http://github.com/spf13/cobra.(*Command).execute(0xc0002fe280), {0xc000092870, 0x5, 0x5})
    /root/golang/work/pkg/mod/github.com/spf13/[email protected]/command.go:860 +0x663
    github.com/spf13/cobra.(*Command).ExecuteC(0x22c7c80)
    /root/golang/work/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3b4
    github.com/spf13/cobra.(*Command).Execute(...)
    /root/golang/work/pkg/mod/github.com/spf13/[email protected]/command.go:902
    quanxiang/cmd.Execute()
    /root/quanxiang/cmd/InstallApp.go:96 +0x525
    main.main()
    /root/quanxiang/main.go:22 +0x17

    然后还有个问题,咨询你们,回复安装的k8s的版本是1.21.5,然后你们的部署应该是绑定的比较多的和k8s的API,建议作为一个后续开发的话,最好不要去绑定特定的版本,云原生和微服务的核心不应该是这样的方式,不然后续使用运维,会死人的;
    然后还遇到一个问题,就是安装openfuntion的时候报错
    W0729 11:37:20.378108 13774 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
    W0729 11:37:20.391079 13774 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
    W0729 11:37:20.404081 13774 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
    Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "dapr-operator-admin" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "openfunction": current value is "dapr"; annotation validation error: key "meta.helm.sh/release-namespace" must equal "openfunction": current value is "dapr-system"

    然后部署代码又安装一个dapr-system,不是很清楚你们的架构是怎样的,感觉版本说明和文档不说的话,非常难部署跑起来,因为部署文档本身也有问题

    构建faas时报错

    现象:在我使用faas创建一个demo示例之后点击了构建,输入版本号v1 前端弹出报错提示
    然后再次输入相同的版本号就没有弹出报错提示了,但是在查看构建进度的页面中一直显示 未开始
    也就是说每次更换新的版本号第一次进行构建时都会页面都会有错误返回 相同版本号重复构建时不报错但也不执行
    错误提示:
    image

    数据库内容:
    image
    表中的namespace值是空的会不会与这个有关
    我在调用api/v1/faas/docker时已经将docker信息都写进去了
    并且服务器能够登录我配置的harbor仓库
    环境:openfunction 0.6.0

    upgrade dapr version to 1.8.x

    currently, QuanXiangCloud use dapr version is 1.5.1, we plan to use 1.8.x.
    new changes will be add in this change.

    1. web console init scripts: 1.1.2-rc1 did not include those scripts.
    2. how to init web console scripts.

    v1.1.0-rc1版本,编译安装出现容器message 错误,容器日志如下:

    2022-07-20T05:55:22.837Z INFO logger/logger.go:24 init-logger-level {"level": -1}

    dapr client initializing for: 127.0.0.1:50001

    2022-07-20T05:55:23.842Z ERROR message/main.go:51 new bus {"error": "error creating default client: error creating connection to '127.0.0.1:50001': context deadline exceeded: context deadline exceeded", "errorVerbose": "context deadline exceeded\nerror creating connection to '127.0.0.1:50001': context deadline exceeded\ngithub.com/dapr/go-sdk/client.NewClientWithAddress\n\t/build/vendor/github.com/dapr/go-sdk/client/client.go:203\ngithub.com/dapr/go-sdk/client.NewClientWithPort\n\t/build/vendor/github.com/dapr/go-sdk/client/client.go:184\ngithub.com/dapr/go-sdk/client.NewClient.func1\n\t/build/vendor/github.com/dapr/go-sdk/client/client.go:171\nsync.(*Once).doSlow\n\t/usr/local/go/src/sync/once.go:68\nsync.(*Once).Do\n\t/usr/local/go/src/sync/once.go:59\ngithub.com/dapr/go-sdk/client.NewClient\n\t/build/vendor/github.com/dapr/go-sdk/client/client.go:170\ngithub.com/quanxiang-cloud/message/internal/core.New\n\t/build/internal/core/message.go:36\nmain.main\n\t/build/cmd/message/main.go:46\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\nerror creating default client\ngithub.com/dapr/go-sdk/client.NewClient.func1\n\t/build/vendor/github.com/dapr/go-sdk/client/client.go:172\nsync.(*Once).doSlow\n\t/usr/local/go/src/sync/once.go:68\nsync.(*Once).Do\n\t/usr/local/go/src/sync/once.go:59\ngithub.com/dapr/go-sdk/client.NewClient\n\t/build/vendor/github.com/dapr/go-sdk/client/client.go:170\ngithub.com/quanxiang-cloud/message/internal/core.New\n\t/build/internal/core/message.go:36\nmain.main\n\t/build/cmd/message/main.go:46\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"}

    main.main

    /build/cmd/message/main.go:51
    

    runtime.main

    /usr/local/go/src/runtime/proc.go:225
    

    panic: error creating default client: error creating connection to '127.0.0.1:50001': context deadline exceeded: context deadline exceeded

    goroutine 1 [running]:

    main.main()

    /build/cmd/message/main.go:52 +0xa7b
    

    按要求改了,yaml文件里面为

    port 端口

    e.g :80

    port: 8080

    model 模式 debug|release

    debug模式,可以输出更加详细的日志,但是运行速度会减慢

    model: debug

    processorNum 分发并行数

    processorNum: 5

    站内信发送地址

    messageAPI: http://%s:8080/api/v1/message/send
    #token验证
    auth:
    checktoken: http://jwt/api/v1/jwt/check

    原来的80改为了8080,再工作负载中重新创建还是报错
    而且form和message都会,

    函数创建后不自动构建

    1.我使用安装包安装的全象,手动安装了implant 配置了rbac
    2.通过api配置了git、docker信息
    3.函数在创建之后可以在git中拿到源码
    4.我将源码下载下来之后 go mod tidy vendor 又推送到git中
    5.设置版本号之后没有出现报错 查看faas服务日志也是正常的
    6. 查看 implant 服务,他只打印了这些内容
    2022-09-14T09:36:58.202Z INFO logger/logger.go:24 init-logger-level {"level": -1}

    I0914 09:36:58.217764 1 leaderelection.go:248] attempting to acquire leader lease default/faas...

    I0914 09:36:58.229627 1 main.go:166] new leader elected: 9xj4TCU0SsqzsDuHYAPbJA

    I0914 09:37:54.268575 1 main.go:166] new leader elected: Q0d8CE1XToaeZXCe3n6T5Q

    7.函数创建状态一直是“未开始”

    我需要再做什么调整才能将faas模块用起来呢

    [proposal] 0.7.1 release

    V0.7.1 is going to release.
    v0.7.1 feathers will be closed in few days, now we should start to add v0.7.1 feathers into our deployment tool.

    serch 对账号管理和查询有问题,容器日志有错误记录

    2022-12-25T08:52:29.403Z INFO search service/search.go:230 json: cannot unmarshal string into Go struct field Department.departments.attr of type int {"Request-Id": "3yvdcujeakg0-f4ZM66PlX1WC"}

    2022-12-25T08:52:29.403Z INFO gin/logger.go:50 [GIN] {"Request-Id": "3yvdcujeakg0-f4ZM66PlX1WC", "latency": 0.007911626, "clientIP": "10.233.92.64", "method": "GET", "statusCode": 400, "errorMessage": "", "bodySize": 157, "path": "/api/v1/search/user?query=%7Bquery%28departmentID%3A%221%22%2Cname%3A%22%22%2Cpage%3A1%2Csize%3A10%29%7Busers%7Bid%2Cphone%2Cposition%2Cemail%2Cname%2CuseStatus%2Cdepartments%7Bid%2Cname%2Cattr%7D%2Cleaders%7Bid%2Cname%2Cattr%7D%7D%2Ctotal%7D%7D"}

    2022-12-25T08:52:30.495Z INFO router.elastic logger/pack_logr.go:38 POST http://elasticsearch-data-0.elasticsearch-data.lowcode.svc.cluster.local:9200/user/_search [status:200, request:0.011s]

    2022-12-25T08:52:30.495Z ERROR search.user service/user.go:193 search user {"error": "json: cannot unmarshal string into Go struct field Department.departments.attr of type int"}

    github.com/quanxiang-cloud/search/internal/service.(*user).resolve

    /build/internal/service/user.go:193
    

    github.com/graphql-go/graphql.resolveField

    /build/vendor/github.com/graphql-go/graphql/executor.go:649
    

    github.com/graphql-go/graphql.executeSubFields

    /build/vendor/github.com/graphql-go/graphql/executor.go:300
    

    github.com/graphql-go/graphql.executeFields

    /build/vendor/github.com/graphql-go/graphql/executor.go:278
    

    github.com/graphql-go/graphql.executeOperation

    /build/vendor/github.com/graphql-go/graphql/executor.go:189
    

    github.com/graphql-go/graphql.Execute.func2

    /build/vendor/github.com/graphql-go/graphql/executor.go:78
    

    2022-12-25T08:52:30.495Z INFO search service/search.go:230 json: cannot unmarshal string into Go struct field Department.departments.attr of type int {"Request-Id": "3yvdcwlw9jpc-C7tA5GG6cLx0"}

    2022-12-25T08:52:30.495Z INFO gin/logger.go:50 [GIN] {"Request-Id": "3yvdcwlw9jpc-C7tA5GG6cLx0", "latency": 0.016241543, "clientIP": "10.233.92.64", "method": "GET", "statusCode": 400, "errorMessage": "", "bodySize": 157, "path": "/api/v1/search/user?query=%7Bquery%28departmentID%3A%221%22%2Cname%3A%22%22%2Cpage%3A1%2Csize%3A10%29%7Busers%7Bid%2Cphone%2Cposition%2Cemail%2Cname%2CuseStatus%2Cdepartments%7Bid%2Cname%2Cattr%7D%2Cleaders%7Bid%2Cname%2Cattr%7D%7D%2Ctotal%7D%7D"}

    中文的README.md logo没有居中

    中文版的README里的图标没有居中,文档内访问用户端方式的表述有错误,用控制台比较合适,不应该用观礼台。

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.