commit | fdf4ed7695c8ff88ea3e7556e1a924bda73f97d5 | [log] [tgz] |
---|---|---|
author | YelinCui <22301115@bjtu.edu.cn> | Mon May 26 11:49:36 2025 +0800 |
committer | YelinCui <22301115@bjtu.edu.cn> | Mon May 26 12:44:04 2025 +0800 |
tree | 6c579333c5ef7edaf5941f6d20f050626525e56d | |
parent | cf6dba2c467b27bb38074104632cc6831cb9de98 [diff] [blame] |
种子,促销 Change-Id: I0ce919ce4228dcefec26ef636bacd3298c0dc77a
diff --git a/src/main/java/com/example/myproject/common/ResultStatus.java b/src/main/java/com/example/myproject/common/ResultStatus.java new file mode 100644 index 0000000..f6c7afe --- /dev/null +++ b/src/main/java/com/example/myproject/common/ResultStatus.java
@@ -0,0 +1,14 @@ +package com.example.myproject.common; + + +public interface ResultStatus { + /** + * 错误码 + */ + int getCode(); + + /** + * 错误信息 + */ + String getMessage(); +}