九山 il y a 4 ans
Parent
commit
be3e9acaa1
1 fichiers modifiés avec 6 ajouts et 4 suppressions
  1. 6 4
      README.md

+ 6 - 4
README.md

@@ -2,8 +2,9 @@
 ### API
 ###### get(url, params = {})
 get请求。
- *  url: 接口地址
- *  params: 请求参数
+>url: 接口地址
+params: 请求参数
+
 使用方式:
 ```
 this.API.get("powercompare/windfarmAjax").then((res) => {
@@ -13,8 +14,9 @@ this.API.get("powercompare/windfarmAjax").then((res) => {
 
 ###### post(url, params = {})
 post请求。
- *  url: 接口地址
- *  params: 请求参数
+>url: 接口地址
+params: 请求参数
+
 使用方式:
 ```
 this.API.post("login", {