Esempio n. 1
0
        static public void Clear()
        {
            LoginSuccess = false;
            CacheData    = new UserCacheData();
            RoomIdList.Clear();

            PhotoPath = null;
            Uid       = null;
            Token     = null;
            NickName  = null;
        }
Esempio n. 2
0
        public override IDictionary <string, string> GetParameters()
        {
            var param = base.GetParameters();

            param.Add("custom_parameters", CustomParameters);
            param.Add("generate_mall_collect_coupon", GenerateMallCollectCoupon?.ToString());
            param.Add("generate_qq_app", GenerateQqApp?.ToString());
            param.Add("generate_schema_url", GenerateSchemaUrl?.ToString());
            param.Add("generate_short_url", GenerateShortUrl?.ToString());
            param.Add("generate_weapp_webview", GenerateWeappWebview?.ToString());
            param.Add("generate_weiboapp_webview", GenerateWeiboappWebview?.ToString());
            param.Add("generate_we_app", GenerateWeApp?.ToString());
            param.Add("goods_id_list", GoodsIdList?.ToJson());
            param.Add("multi_group", MultiGroup?.ToString());
            param.Add("p_id", Pid);
            param.Add("search_id", SearchId);
            param.Add("zs_duo_id", ZsDuoId?.ToString());
            param.Add("room_id_list", RoomIdList?.ToJson());
            param.Add("target_id_list", TargetIdList?.ToJson());
            return(param);
        }