mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-11-30 02:37:57 +08:00
feat: format json in params-import
This commit is contained in:
parent
39b9c4f52c
commit
25972d9d0d
@ -43,6 +43,8 @@ export class ParamsImportComponent {
|
||||
return `name: Jack\nage: 12`;
|
||||
case 'query':
|
||||
return `/api?name=Jack&age=12`;
|
||||
case 'json':
|
||||
return `{ "name": "Jack", "age": 12}`;
|
||||
default:
|
||||
return `/api?name=Jack&age=12`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user