12345678910111213141516171819 |
- package com.edufound.reader.bean;
- import com.edufound.reader.util.Consts;
- public class UserEventBean {
- public String action;
- public String channel;
- public UserEventBean(String act) {
- this.action = act;
- this.channel = Consts.getUMengChannel();
- }
- public String toJson() {
- return "{\"action\":\"" + this.action + "\",\"channel\":\"" + this.channel + "\"}";
- }
- }
|