12345678910111213141516171819202122232425262728 |
- import 'package:ustest/Services/TestCase.dart';
- class ApiTestService {
- ApiTestService() {}
- Future<List<TestCase>> getTestCases() async {
- var testCases = <TestCase>[];
- testCases.add(new TestCase(
- id: "1",
- url: "http://192.168.6.20:8303/IPatientService",
- method: "POST",
- body: '"{'
- '"jsonrpc": "2.0"'
- '"method": "FindPatients",'
- '"params": ['
- '{'
- '"Token": "1e8605f8991f423d9958196e21528b08",'
- '"KeyWord": "",'
- '"PageIndex": 1,'
- '"PageSize": 10'
- '}'
- '],'
- '"id": 1'
- '}"'));
- return testCases;
- }
- }
|