dxh 5 years ago
parent
commit
06b0929988

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

27
import com.electric.chargingpile.application.MainApplication;
27
import com.electric.chargingpile.application.MainApplication;
28
import com.electric.chargingpile.data.TalkRecommendBean;
28
import com.electric.chargingpile.data.TalkRecommendBean;
29
import com.electric.chargingpile.data.VideoCommentBean;
29
import com.electric.chargingpile.data.VideoCommentBean;
30
import com.electric.chargingpile.manager.ProfileManager;
30
import com.electric.chargingpile.util.JsonUtils;
31
import com.electric.chargingpile.util.JsonUtils;
31
import com.electric.chargingpile.util.ToastUtil;
32
import com.electric.chargingpile.util.ToastUtil;
32
import com.zhy.http.okhttp.OkHttpUtils;
33
import com.zhy.http.okhttp.OkHttpUtils;
228
        map.put("toCommentsId", toCommentIds);
229
        map.put("toCommentsId", toCommentIds);
229
        map.put("content", commentCon);
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
        if (MainApplication.isLogin()) {
236
        if (MainApplication.isLogin()) {
232
            map.put("userId", MainApplication.userId);
237
            map.put("userId", MainApplication.userId);
233
        }
238
        }