ImConstants.kt 1.95 KB
Newer Older
konghaorui committed
1 2 3 4 5 6 7 8 9 10
package com.yidianling.im.config.constants

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

class ImConstants {

    companion object {
        val YYPJ = HttpConfig.H5_URL + "comment/"

        //聆听者主页
11
        val YTZDETAIL = HttpConfig.MH5_URL + "experts/"
konghaorui committed
12 13

        //用户私聊视频h5介绍
14
        val H5VIDEO_INFO = HttpConfig.H5_URL + "ex-help/76"
konghaorui committed
15 16 17 18 19 20 21 22

        const val HTTP_CODE_UNLOGIN = 100005
        const val SILENCED_CODE = 1000020

        //一页请求的数据
        const val PAGE_SIZE = 20

        //我的微问诊记录
23
        val MY_CHAT = HttpConfig.H5_URL + "consult/my-chat"
konghaorui committed
24 25

        //免费体验订单详情
26 27 28
        val FREEDTAIL = HttpConfig.H5_URL + "consult-trial/"

        //免费体验订单详情  后边拼接orderid  如果没有拼""
刘鹏 committed
29
        val ORDER_DETAIL = HttpConfig.MH5_URL + "wb/user/order/detail?needOrderHelperAlert=1&orderid="
霍志良 committed
30
        val PAY_DETAIL = HttpConfig.MH5_URL + "wb/user/payment/detail?orderId="
31

konghaorui committed
32 33 34 35 36 37 38 39 40 41 42 43 44 45
        const val BIND_PHONE_ACTION = "wxbind"

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


        //====================字符串常量====================
        //绑定手机提示语
        const val BIND_PHONE = "为了及时接收消息通知,请立即绑定手机"

        //用户对用户发起第一次私聊做安全提示
        const val FIRST_CHAT_TIP = "对方非认证咨询师,请注意保护隐私,以免造成信息泄露"

        const val MESSAGE_IN_NUM = "请注意自我保护!向陌生人发送联系方式,隐私存在被传播泄漏风险,平台内所有联系方式均对双方匿名显示"

46
        const val CALL_PHONE = "\n400-765-1010\n(服务时间 早8:30-凌晨2:00)"
konghaorui committed
47 48 49

        //连接倾听未绑定手机提示
        const val TEL_BINDPHONE = "电话连接需要绑定手机哦~"
50

51
        const val KEFUXIAOYI = "14"
konghaorui committed
52

53 54 55
        // 服务单或者订单评价h5链接
        val PLAY_SCORE_URL = HttpConfig.MH5_URL +"comment/submit/"

konghaorui committed
56 57 58
    }

}