Skip to content

Instantly share code, notes, and snippets.

@isratmir
Last active February 26, 2018 06:16
Show Gist options
  • Save isratmir/a92f72434e0943558583d06891ef09ef to your computer and use it in GitHub Desktop.
Save isratmir/a92f72434e0943558583d06891ef09ef to your computer and use it in GitHub Desktop.

Cохранено с мобилки:

[
  {
    "id": 14,
    "field_value": "",
    "user_value": "5000",
    "field_label": "Цена",
    "field_type_mobile": "editNumber",
    "field_required": true,
    "field_placeholder": "Цена",
    "use_in_search": true,
    "field_order": 1
  },
  {
    "id": 21,
    "field_value": "",
    "user_value": "телефон",
    "field_label": "Телефон",
    "field_type_mobile": "edit",
    "field_required": true,
    "field_placeholder": "Номер телефона",
    "use_in_search": true,
    "field_order": 2
  },
  {
    "id": 17,
    "field_value": "Смартфон, Телефон",
    "user_value": "Смартфон",
    "field_label": "Тип",
    "field_type_mobile": "select",
    "field_required": false,
    "field_placeholder": "Выбрать...",
    "use_in_search": true,
    "field_order": 3
  },
  {
    "id": 18,
    "field_value": "Android, iOS, Blackberry OS Symbian, Windows, Другая",
    "user_value": "Android",
    "field_label": "Платформа",
    "field_type_mobile": "select",
    "field_required": false,
    "field_placeholder": "Выбрать...",
    "use_in_search": true,
    "field_order": 5
  },
  {
    "id": 19,
    "field_value": "1 SIM, 2 SIM, Другое",
    "user_value": "1 SIM",
    "field_label": "Кол-во SIM карт",
    "field_type_mobile": "select",
    "field_required": false,
    "field_placeholder": "Выбрать...",
    "use_in_search": false,
    "field_order": 6
  },
  {
    "id": 23,
    "field_value": "Новый, Б/У",
    "user_value": "Б/У",
    "field_label": "Состояние",
    "field_type_mobile": "switch",
    "field_required": false,
    "field_placeholder": "",
    "use_in_search": true,
    "field_order": 7
  },
  {
    "id": 22,
    "field_value": "",
    "user_value": "0",
    "field_label": "Обмен",
    "field_type_mobile": "checkbox",
    "field_required": false,
    "field_placeholder": "",
    "use_in_search": true,
    "field_order": 8
  }
]

Сохранено с форума:

[
  {
    "id": "14",
    "created_at": "0000-00-00 00:00:00",
    "field_name": "price",
    "field_value": "",
    "field_label": "Цена",
    "field_type": "number",
    "field_type_mobile": "editNumber",
    "field_required": "1",
    "field_placeholder": "Цена",
    "use_in_search": "1",
    "field_order": "1",
    "content_field_id": "1",
    "user_value": "5222"
  },
  {
    "id": "22",
    "created_at": "0000-00-00 00:00:00",
    "field_name": "exchange",
    "field_value": "",
    "field_label": "Обмен",
    "field_type": "checkbox",
    "field_type_mobile": "checkbox",
    "field_required": "0",
    "field_placeholder": "",
    "use_in_search": "1",
    "field_order": "8",
    "content_field_id": "0",
    "user_value": "1"
  },
  {
    "id": "21",
    "created_at": "2017-11-02 00:00:00",
    "field_name": "phone",
    "field_value": "",
    "field_label": "Телефон",
    "field_type": "text",
    "field_type_mobile": "edit",
    "field_required": "1",
    "field_placeholder": "Номер телефона",
    "use_in_search": "1",
    "field_order": "2",
    "content_field_id": "0",
    "user_value": "54646656"
  },
  {
    "id": "17",
    "created_at": "0000-00-00 00:00:00",
    "field_name": "phone_type",
    "field_value": "Смартфон, Телефон",
    "field_label": "Тип",
    "field_type": "select",
    "field_type_mobile": "select",
    "field_required": "0",
    "field_placeholder": "Выбрать...",
    "use_in_search": "1",
    "field_order": "3",
    "content_field_id": "0",
    "user_value": "Смартфон"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment