namespace herousdk
{
    public class HeroUSDKHttpApi
    {
        private readonly string _httpUrl;
        private const string BaseGroup = "/v1";

        /// <summary>
        /// 融合SDK初始化
        /// </summary>
        public string HeroUSDKInit => $"{_httpUrl}{BaseGroup}/sys/init.lg"; 
        
        /// <summary>
        /// 融合SDK闪屏上报
        /// </summary>
        public string HeroUSDKSplash => $"{_httpUrl}{BaseGroup}/sys/splhend.lg"; 
        
        /// <summary>
        /// 融合SDK登录
        /// </summary>
        public string HeroUSDKLogin => $"{_httpUrl}{BaseGroup}/login/checklgn.lg"; 
        
        /// <summary>
        /// 融合SDK角色上报
        /// </summary>
        public string HeroUSDKRoleAttr => $"{_httpUrl}{BaseGroup}/role/attr.lg"; 
        
        /// <summary>
        /// 融合SDK下单
        /// </summary>
        public string HeroUSDKOrder => $"{_httpUrl}{BaseGroup}/pay/order.lg";

        /// <summary>
        /// 融合SDK协议地址
        /// </summary>
        public string HeroUSDKProtocolUrl => "https://sdk-api.yingxiong.com/pcweb/#/agreement?";
        // public string HeroUSDKProtocolUrl => "https://other.yingxiong.com/cd/dev/pcweb/#/agreement?";
        
        /// <summary>
        /// 融合SDK支付地址
        /// </summary>
        public string HeroUSDKPayUrl => "https://sdk-api.yingxiong.com/pcweb/#/pay?";
        // public string HeroUSDKPayUrl => "https://other.yingxiong.com/cd/dev/pcweb/#/pay?";
        
        /// <summary>
        /// 融合SDK登录地址
        /// </summary>
        public string HeroUSDKLoginUrl => "https://sdk-api.yingxiong.com/pcweb/#/init";
        // public string HeroUSDKLoginUrl => "https://other.yingxiong.com/cd/dev/pcweb/#/init";

        public HeroUSDKHttpApi(string httpUrl)
        {
            _httpUrl = httpUrl;
        }
    }
}