File tree Expand file tree Collapse file tree 4 files changed +12
-21
lines changed Expand file tree Collapse file tree 4 files changed +12
-21
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function validateAll(Request $request): array
33
33
* Verify only the type field in the TestValidator validator
34
34
*
35
35
* @RequestMapping()
36
- * @Validate(validator="TestValidator",fields={"type"})
36
+ * @Validate(validator="TestValidator", fields={"type"})
37
37
*
38
38
* @param Request $request
39
39
*
@@ -48,7 +48,7 @@ function validateType(Request $request): array
48
48
* Verify only the password field in the TestValidator validator
49
49
*
50
50
* @RequestMapping()
51
- * @Validate(validator="TestValidator",fields={"password"})
51
+ * @Validate(validator="TestValidator", fields={"password"})
52
52
*
53
53
* @param Request $request
54
54
*
Original file line number Diff line number Diff line change 45
45
],
46
46
'db ' => [
47
47
'class ' => Database::class,
48
- 'dsn ' => 'mysql:dbname=test;host=172.17.0.3 ' ,
48
+ 'dsn ' => 'mysql:dbname=test;host=192.168.4.11 ' ,
49
49
'username ' => 'root ' ,
50
50
'password ' => 'swoft123456 ' ,
51
51
],
52
52
'db2 ' => [
53
53
'class ' => Database::class,
54
- 'dsn ' => 'mysql:dbname=test2;host=172.17.0.3 ' ,
54
+ 'dsn ' => 'mysql:dbname=test2;host=192.168.4.11 ' ,
55
55
'username ' => 'root ' ,
56
56
'password ' => 'swoft123456 ' ,
57
57
'dbSelector ' => bean (DbSelector::class)
62
62
],
63
63
'db3 ' => [
64
64
'class ' => Database::class,
65
- 'dsn ' => 'mysql:dbname=test2;host=172.17.0.3 ' ,
65
+ 'dsn ' => 'mysql:dbname=test2;host=192.168.4.11 ' ,
66
66
'username ' => 'root ' ,
67
67
'password ' => 'swoft123456 '
68
68
],
112
112
],
113
113
'cliRouter ' => [
114
114
// 'disabledGroups' => ['demo', 'test'],
115
- ],
116
- 'apollo ' => [
117
- 'host ' => '192.168.4.11 ' ,
118
- 'timeout ' => -1
119
- ],
120
- 'consul ' => [
121
- 'host ' => '192.168.4.11 '
122
115
]
123
116
];
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 23
23
"swoft/http-server" : " ~2.0.0" ,
24
24
"swoft/rpc-client" : " ~2.0.0" ,
25
25
"swoft/rpc-server" : " ~2.0.0" ,
26
- "swoft/websocket-server" : " ~2.0.0"
26
+ "swoft/websocket-server" : " ~2.0.0" ,
27
+ "swoft/tcp" : " ~2.0.0" ,
28
+ "swoft/tcp-server" : " ~2.0.0" ,
29
+ "swoft/apollo" : " ~2.0.0" ,
30
+ "swoft/consul" : " ~2.0.0" ,
31
+ "swoft/limiter" : " ~2.0.0" ,
32
+ "swoft/breaker" : " ~2.0.0"
27
33
},
28
34
"require-dev" : {
29
35
"swoft/swoole-ide-helper" : " dev-master" ,
You can’t perform that action at this time.
0 commit comments