package com.yidianling.dynamic.bean

import com.ydl.ydlcommon.base.config.HttpConfig

class DynamicConstants {
    companion object {
        const val YDL_USER_ASK_PAGE = "ydl_user_ask_page|"
        const val YDL_USER_ASK_PAGE_STAY_VISIT = YDL_USER_ASK_PAGE + "ydl_user_ask_page_stay_visit"
        const val YDL_USER_ASK_PAGE_VISIT = YDL_USER_ASK_PAGE + "ydl_user_ask_page_visit"
        const val YDL_USER_THOUGHTS_GROUP_MORE_CLICK =
            YDL_USER_ASK_PAGE + "ydl_user_thoughts_group_more_click"
        const val YDL_USER_THOUGHTS_GROUP_TYPE_CLICK= YDL_USER_ASK_PAGE+"ydl_user_thoughts_group_type_click"
        const val YDL_USER_ASK_TYPE_CLICK= YDL_USER_ASK_PAGE+"ydl_user_ask_type_click"
        const val YDL_USER_ASK_QUESTIONS_BUTTON_CLICK= YDL_USER_ASK_PAGE+"ydl_user_ask_questions_button_click"
        var ZHUANJIA = HttpConfig.YDL_H5 + "confideDetail?id="

        var WWWXIADAN = HttpConfig.H5_URL + "consult/commit/"

        //赞过的动态列表
        var TRENDS_ZAN_LIST_H5 = HttpConfig.H5_URL + "active/active-members"

        //感谢一页请求的数据
        const val THX_REPLY_PAGE_SIZE = 20

        const val EACH_PAGE_DATA_NUM = 20

        /**
         * 保存图片成功
         */
        const val REQUEST_SAVE_IMG_SUCCESS = 21004

        /**
         * 保存图片失败
         */
        const val REQUEST_SAVE_IMG_FAIL = 21005

        /**
         * 发表动态从图库中获取图片
         */
        const val REQUEST_CODE_GALLERY_TREN = 21006

        /**
         * 发表动态拍照
         */
        const val REQUEST_CODE_CAMER_TREND = 21007

        /**
         * 选择话题
         */
        const val REQUEST_CODE_SELECT_TOPIC = 21008

        //从话题详情页或用户主页跳转到动态详情
        const val JUMP_TREND_INFO = 30006

        /**
         * 发布动态选取的图片查看大图后删除
         */
        const val PUBLISH_PIC_BROW = 21009

        const val IMAGE_PICKER = 32001

        /**
         * 话题详情最新动态列表刷新
         */
        const val TOPIC_DETAIL_NEW_REFRESH = 32101

        /**
         * 话题详情热门动态列表刷新
         */
        const val TOPIC_DETAIL_HOT_REFRESH = 32102

        /**
         * 个人主页动态列表刷新
         */
        const val MEMBER_REFRESH = 32103

        open var TOPIC_DETAIL_H5 = HttpConfig.H5_URL + "active/topic-members/"

        open var TRENF_INFO_SHARE_H5 = HttpConfig.MH5_URL + "ask/"

        const val PUBLISH_TYPE = "publish_type"

        const val SILENCED_CODE = 1000020
        const val BIND_PHONE_ACTION = "wxbind"
        const val HELP_URL = "https://h2.yidianling.com/ex-help/96"

        val BIND_PHONE = "为了及时接收消息通知，请立即绑定手机"

    }

}
