liuxiran opened a new pull request #451:
URL: https://github.com/apache/apisix-dashboard/pull/451


   Please answer these questions before submitting a pull request
   
   - Why submit this pull request?
   - [ ] Bug fix
   - [ ] New feature provided
   - [ ] Improve performance
   
   - Related issues
    issue #437 fe , depends on pr 
https://github.com/apache/apisix-dashboard/pull/450
   ___
   ### Bugfix
   - Description
   
   - How to fix?
   
   ___
   ### New feature or improvement
   - Describe the details and related test reports.
   
   in frontend we add `status` to route:
   1. add `status` in create route step1
   
![image](https://user-images.githubusercontent.com/2561857/92398480-37e08380-f15b-11ea-870c-5fbbb46cffa4.png)
   
   choose `enable`, means to publish route(create route both in mysql and 
apisix), and the route can be use now;
   choose `disable`, means to create route offline(create route onlyl in 
mysql), the route could not be used
   
   1. in route table,we add `status` column, and add `publish` `offline` button
   
![image1](https://user-images.githubusercontent.com/2561857/92398724-acb3bd80-f15b-11ea-8740-86262088ddc6.png)
   
   the `published` route could be `offline` with the `offline` button; and the 
`offline` route could be `published` with the `publish` button.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to