修改接口定义,增加了退款接口
diff --git a/payapi-spec/definitions.yaml b/payapi-spec/definitions.yaml
index fea5324..89e374d 100644
--- a/payapi-spec/definitions.yaml
+++ b/payapi-spec/definitions.yaml
@@ -10,6 +10,18 @@
 
 
   schemas:
+    ErrorResponse:
+      type: object
+      title: 请求错误
+      required:
+        - message
+      properties:
+        code:
+          type: string
+          title: 错误码
+        message:
+          type: string
+          title: 错误信息
     TransDate:
       type: string
       title: 交易日期
@@ -38,3 +50,10 @@
         - plain
         - base64
         - hex
+    TransResult:
+      type: string
+      enum:
+        - success
+        - failed
+        - already_success
+        - require_query