Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] 如何通过接口创建工单 #1116

Closed
jami1024 opened this issue Oct 17, 2024 · 1 comment
Closed

[Question] 如何通过接口创建工单 #1116

jami1024 opened this issue Oct 17, 2024 · 1 comment

Comments

@jami1024
Copy link

jami1024 commented Oct 17, 2024

Please provide titles that are straightforward and concise. exp: [Question] How to use or [Feature] Add new feature

  请提供简单明了的标题。例如 [Question] 如何使用 or [Feature] 添加新功能
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: The database name is not displayed when creating a work order through the interface

Describe the problem
In version 2.3.1 Community Edition, after successfully creating a work order through the /api/v2/sql/refer interface, the work order does not display the database name.

Recurrence
Steps to reproduce the behavior:

  1. Initiate a post request through request, with the following parameters:
params = {
       "sql": "create database testaaa;",
       "type": 0,
       "real_name": "xxx",
       "idc": "test",
       "source": "apolloportaldb",
       "data_base": "apolloportaldb",
       "table": "",
       "text": "test",
       "delay": "",
       "assigned": "zhangsan",
       "backup": 1,
       "export": 0,
       "tp": 0
   }
  1. Visit the My Work Orders page to find the work order you just created, and find that there is no database name.

image

Desired results
I would like to know how to create a work order through the interface.

screenshot

Deployment method

  • Docker
  • Manual

Environment (please fill in environmental information):

  • Operating system: centos
  • Browser chrome
  • Version number 2.3.1 Community Edition

Additional log information

@jami1024 jami1024 changed the title 通过接口创建工单时数据库名不显示 [Question] 如何通过接口创建工单 Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants