This is a mobile optimized page that loads fast, if you want to load the real page, click this text.

Проблема Помогите решить проблему при входе на сервер

GoodLuck

Участник портала
26 Сен 2020
61
16
27
Код из серверной части :

C#:
            { "G63", new Dictionary<int, List<Tuple<int, string, int>>>() {
                { 1, new List<Tuple<int, string, int>>() {
                    new Tuple<int, string, int>(-1, "AMG", 5000),
                    new Tuple<int, string, int>(0, "Brabus Пороги", 22000),
                }},
                { 2, new List<Tuple<int, string, int>>() {
                    new Tuple<int, string, int>(-1, "AMG", 5000),
                    new Tuple<int, string, int>(0, "Brabus Капот", 22000),
                }},
                { 3, new List<Tuple<int, string, int>>() {
                    new Tuple<int, string, int>(-1, "AMG", 5000),
                    new Tuple<int, string, int>(0, "Brabus Спойлер", 22000),
                }},
                { 4, new List<Tuple<int, string, int>>() {
                    new Tuple<int, string, int>(-1, "AMG", 5000),
                    new Tuple<int, string, int>(0, "Brabus Решетка", 22000),
                }},
                { 5, new List<Tuple<int, string, int>>() {
                    new Tuple<int, string, int>(-1, "AMG", 5000),
                    new Tuple<int, string, int>(0, "Brabus Крылья", 22000),
                }},
                { 6, new List<Tuple<int, string, int>>() {
                    new Tuple<int, string, int>(-1, "AMG", 5000),
                    new Tuple<int, string, int>(0, "Brabus Люстра", 22000),
                }},
                { 8, new List<Tuple<int, string, int>>() {
                    new Tuple<int, string, int>(-1, "AMG", 5000),
                    new Tuple<int, string, int>(0, "Brabus Бампер", 13000),
                }},
                { 9, new List<Tuple<int, string, int>>() {
                    new Tuple<int, string, int>(-1, "AMG", 5000),
                    new Tuple<int, string, int>(0, "Brabus Бампер", 13000),
                }},

Клиенская:
JavaScript:
"G63":{
"1":[{"Item1":-1,"Item2":"AMG","Item3":5000},
{"Item1":0,"Item2":"Brabus Пороги","Item3":22000}],
"2":[{"Item1":-1,"Item2":"AMG","Item3":5000},
{"Item1":0,"Item2":"Brabus Капот","Item3":22000}],
"3":[{"Item1":-1,"Item2":"AMG","Item3":5000},
{"Item1":0,"Item2":"Brabus Спойлер","Item3":22000}],
"4":[{"Item1":-1,"Item2":"AMG","Item3":5000},
{"Item1":0,"Item2":"Brabus Решетка","Item3":22000}],
"5":[{"Item1":-1,"Item2":"AMG","Item3":5000},
{"Item1":0,"Item2":"Brabus Крылья","Item3":22000}],
"6":[{"Item1":-1,"Item2":"AMG","Item3":5000},
{"Item1":0,"Item2":"Brabus Люстра","Item3":22000}],
"8":[{"Item1":-1,"Item2":"AMG","Item3":5000},
{"Item1":0,"Item2":"Brabus Бампер","Item3":13000}],
"9":[{"Item1":-1,"Item2":"AMG","Item3":5000},
{"Item1":0,"Item2":"Brabus Бампер","Item3":13000}]},
 

Harland David Sanders

🍔 ChefBurger
Команда форума
High developer
10 Сен 2020
3,672
2,849
219

В клиентской части пропущена скобка [
 
Реакции: GLHF

Evbej

Активный участник
15 Сен 2020
103
40
60
Последнее редактирование:
Реакции: GLHF

skyElmax

Специалист
FrontEnd developer
15 Сен 2020
151
89
105
Реакции: Mikhayloff

Similar threads