|
@@ -24,6 +24,14 @@ public class PoemsContext {
|
|
|
poemsContextContent.setProjectId(projectId);
|
|
|
}
|
|
|
|
|
|
+ public static void setContext(String userId, String loginDevice, String pd) {
|
|
|
+ PoemsContextContent poemsContextContent = getContext();
|
|
|
+
|
|
|
+ poemsContextContent.setUserId(userId);
|
|
|
+ poemsContextContent.setLoginDevice(loginDevice);
|
|
|
+ poemsContextContent.setPd(pd);
|
|
|
+ }
|
|
|
+
|
|
|
public static void setContext(PoemsContextContent poemsContextContent) {
|
|
|
if (poemsContextContent == null) {
|
|
|
poemsContextContent = new PoemsContextContent();
|