File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function validateAll(Request $request): array
3333 * Verify only the type field in the TestValidator validator
3434 *
3535 * @RequestMapping()
36- * @Validate(validator="TestValidator",fields={"type"})
36+ * @Validate(validator="TestValidator", fields={"type"})
3737 *
3838 * @param Request $request
3939 *
@@ -48,7 +48,7 @@ function validateType(Request $request): array
4848 * Verify only the password field in the TestValidator validator
4949 *
5050 * @RequestMapping()
51- * @Validate(validator="TestValidator",fields={"password"})
51+ * @Validate(validator="TestValidator", fields={"password"})
5252 *
5353 * @param Request $request
5454 *
Original file line number Diff line number Diff line change 4545 ],
4646 'db ' => [
4747 'class ' => Database::class,
48- 'dsn ' => 'mysql:dbname=test;host=172.17.0.3 ' ,
48+ 'dsn ' => 'mysql:dbname=test;host=192.168.4.11 ' ,
4949 'username ' => 'root ' ,
5050 'password ' => 'swoft123456 ' ,
5151 ],
5252 'db2 ' => [
5353 'class ' => Database::class,
54- 'dsn ' => 'mysql:dbname=test2;host=172.17.0.3 ' ,
54+ 'dsn ' => 'mysql:dbname=test2;host=192.168.4.11 ' ,
5555 'username ' => 'root ' ,
5656 'password ' => 'swoft123456 ' ,
5757 'dbSelector ' => bean (DbSelector::class)
6262 ],
6363 'db3 ' => [
6464 'class ' => Database::class,
65- 'dsn ' => 'mysql:dbname=test2;host=172.17.0.3 ' ,
65+ 'dsn ' => 'mysql:dbname=test2;host=192.168.4.11 ' ,
6666 'username ' => 'root ' ,
6767 'password ' => 'swoft123456 '
6868 ],
112112 ],
113113 'cliRouter ' => [
114114 // 'disabledGroups' => ['demo', 'test'],
115- ],
116- 'apollo ' => [
117- 'host ' => '192.168.4.11 ' ,
118- 'timeout ' => -1
119- ],
120- 'consul ' => [
121- 'host ' => '192.168.4.11 '
122115 ]
123116];
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2323 "swoft/http-server" : " ~2.0.0" ,
2424 "swoft/rpc-client" : " ~2.0.0" ,
2525 "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"
2733 },
2834 "require-dev" : {
2935 "swoft/swoole-ide-helper" : " dev-master" ,
You can’t perform that action at this time.
0 commit comments