update README.md.
This commit is contained in:
28
README.md
28
README.md
@@ -208,6 +208,34 @@ public class DemoApplication {
|
||||
}
|
||||
}
|
||||
```
|
||||
##### 场景中依赖的实体类结构
|
||||
```
|
||||
class ApiResult {
|
||||
private String _mobile;
|
||||
private Result result;
|
||||
|
||||
public ApiResult(String _mobile, Result result) {
|
||||
this._mobile = _mobile;
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
setter...
|
||||
getter...
|
||||
}
|
||||
|
||||
class Result {
|
||||
private String _email;
|
||||
private String _mobile;
|
||||
|
||||
public Result(String _email, String _mobile) {
|
||||
this._email = _email;
|
||||
this._mobile = _mobile;
|
||||
}
|
||||
|
||||
setter...
|
||||
getter...
|
||||
}
|
||||
```
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
|
Reference in New Issue
Block a user