34 lines
1.5 KiB
Kotlin
34 lines
1.5 KiB
Kotlin
package com.cheng.bole.common
|
|
|
|
import android.graphics.Typeface
|
|
import com.cheng.bole.BuildConfig
|
|
import com.example.base.utils.Utils
|
|
|
|
object Constants {
|
|
|
|
const val BaseUrl = "http://bid7.yua8.cn"//正式地址
|
|
const val TestUrl = "http://bid7.yua8.cn"//测试地址
|
|
|
|
const val APP_ID = "10055"
|
|
|
|
const val AppFilter = "${BuildConfig.APPLICATION_ID}.fileprovider"
|
|
|
|
const val WechatAppId = ""//微信APPID
|
|
const val WechatAppSecret = ""//微信secret
|
|
const val UmengAppkey = "692528cc8560e34872f36551"//友盟appKey
|
|
|
|
const val userAgreement = "$BaseUrl/static/new5/user.html"//用户协议
|
|
const val privacyPolicy = "$BaseUrl/static/new5/provacy.html"//隐私政策
|
|
const val renewAgreement = "$BaseUrl/static/new5/renew.html"//自动续费协议
|
|
const val permissionList: String = "${BaseUrl}/static/new5/limits.html"//权限说明
|
|
const val shareList: String = "${BaseUrl}/static/new5/shareList.html"//第三方共享清单
|
|
const val sdkList: String = "${BaseUrl}/static/new5/sdkList.html"//第三方SDK目录
|
|
|
|
const val Encrypt = "zpzkfp72v3hgatzg5w7pyg86x5342kxt"
|
|
const val Signature = "ckBHUSWBx3TqwNT2kxMrsXyXFuA3PW"
|
|
|
|
val almmsht = Typeface.createFromAsset(Utils.getApp().assets, "fonts/Alimama ShuHeiTi.ttf")
|
|
val dDIN_PRO_M = Typeface.createFromAsset(Utils.getApp().assets, "fonts/D-DIN-PRO-500-Medium.otf")
|
|
val youSheBiaoTiHei = Typeface.createFromAsset(Utils.getApp().assets, "fonts/YouSheBiaoTiHei.ttf")
|
|
|
|
} |