@shun-js/recommend 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +13 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -42,5 +42,17 @@ shunjs start @shun-js/recommend
42
42
  ## 请求
43
43
 
44
44
  ```shell
45
-
45
+ # add
46
+ curl --location --request POST 'http://localhost:8004/recommend/add' \
47
+ --data-urlencode 'userId=1' \
48
+ --data-urlencode 'newUserId=2'
49
+
50
+ # list
51
+ curl --location --request POST 'http://localhost:8004/recommend/list' \
52
+ --data-urlencode 'userId=1'
53
+
54
+ # change
55
+ curl --location --request POST 'http://localhost:8004/recommend/change' \
56
+ --data-urlencode 'userId=1' \
57
+ --data-urlencode 'newUserId=2'
46
58
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shun-js/recommend",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "recommend",
5
5
  "keywords": [
6
6
  "shun.js",
@@ -21,15 +21,15 @@
21
21
  "app.js"
22
22
  ],
23
23
  "dependencies": {
24
- "@shun-js/shun-config": "^0.3.0",
24
+ "@shun-js/shun-config": "^0.3.1",
25
25
  "@shun-js/shun-service": "^0.3.1",
26
26
  "qiao-log": "^5.1.9",
27
- "qiao-mysql": "^5.1.9",
28
- "qiao-z": "^5.7.7"
27
+ "qiao-mysql": "^5.8.6",
28
+ "qiao-z": "^5.8.9"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public",
32
32
  "registry": "https://registry.npmjs.org/"
33
33
  },
34
- "gitHead": "10f71828bbb92479c8120f013200b6f8f91146be"
34
+ "gitHead": "4fa47fe5cf1b00acfe54f47af836101291093f06"
35
35
  }