dxh %!s(int64=5) %!d(string=hace) años
padre
commit
06b0929988

+ 5 - 0
app/src/main/java/com/electric/chargingpile/view/VideoCommentDialog.java

@ -27,6 +27,7 @@ import com.electric.chargingpile.adapter.VideoCommentAdapter;
27 27
import com.electric.chargingpile.application.MainApplication;
28 28
import com.electric.chargingpile.data.TalkRecommendBean;
29 29
import com.electric.chargingpile.data.VideoCommentBean;
30
import com.electric.chargingpile.manager.ProfileManager;
30 31
import com.electric.chargingpile.util.JsonUtils;
31 32
import com.electric.chargingpile.util.ToastUtil;
32 33
import com.zhy.http.okhttp.OkHttpUtils;
@ -228,6 +229,10 @@ public class VideoCommentDialog extends Dialog implements View.OnClickListener {
228 229
        map.put("toCommentsId", toCommentIds);
229 230
        map.put("content", commentCon);
230 231
232
        String token = ProfileManager.getInstance().getKeyMessageToken(context);
233
        map.put("appToken", token+"");
234
        map.put("userId", MainApplication.userId);
235
231 236
        if (MainApplication.isLogin()) {
232 237
            map.put("userId", MainApplication.userId);
233 238
        }