Skip to content

Commit 6286182

Browse files
authored
Merge pull request JannsenYang#139 from wegi8/main
update userconfig.java: header `ddmc-device-id` 和 body `openid`一致, 共用
2 parents 713da27 + c772a7d commit 6286182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/UserConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ public static Map getBody(Map<String, String> headers) {
7272
body.put("sharer_uid", "");
7373
body.put("h5_source", "");
7474
body.put("time", headers.get("ddmc-time"));
75+
body.put("openid", headers.get("ddmc-device-id"));
7576

76-
// ------------ 填入这3项上面不要动 ------------
77+
// ------------ 填入这2项上面不要动 ------------
7778
body.put("s_id", "");
78-
body.put("openid", "");
7979
body.put("device_token", "");
8080
return body;
8181
}

0 commit comments

Comments
 (0)