 let gmbJson = { sitename : 'MapBiz', datasyncinterval : 1000, apipath : { 'login_check' : 'https://mapbiz.jp/app/system/api/login_check.php', 'set_site' : 'https://mapbiz.jp/app/system/api/set_site.php', 'get_site_list' : 'https://mapbiz.jp/app/system/api/get_site_list.php', 'get_shop_list' : 'https://mapbiz.jp/app/system/api/get_shop_list.php', 'get_post_list' : 'https://mapbiz.jp/app/system/api/get_post_list.php', 'get_post_info' : 'https://mapbiz.jp/app/system/api/get_post_info.php', 'retry_post_error' : 'https://mapbiz.jp/app/system/api/retry_post_error.php', 'bulk_post_open' : 'https://mapbiz.jp/app/system/api/bulk_post_open.php', 'update_post_shop' : 'https://mapbiz.jp/app/system/api/update_post_shop.php', 'delete_post_info' : 'https://mapbiz.jp/app/system/api/delete_post_info.php', 'register_post' : 'https://mapbiz.jp/app/system/api/register_post_info.php', 'get_shop_info' : 'https://mapbiz.jp/app/system/api/get_shop_info.php', 'create_shopgroup' : 'https://mapbiz.jp/app/system/api/upsert_shopgroup.php', 'delete_shopgroup' : 'https://mapbiz.jp/app/system/api/delete_shopgroup.php', 'get_shopgroup_list' : 'https://mapbiz.jp/app/system/api/get_shopgroup_list.php', 'get_shopgroup_list_all' : 'https://mapbiz.jp/app/system/api/get_shopgroup_list_all.php', 'get_shopgroup_info' : 'https://mapbiz.jp/app/system/api/get_shopgroup_info.php', 'register_media' : 'https://mapbiz.jp/app/system/api/register_post_media.php', 'get_post_ym' : 'https://mapbiz.jp/app/system/api/get_post_ym.php', 'download_shop_link_csv' : 'https://mapbiz.jp/app/system/api/download_shop_link_csv.php', 'upload_shop_link_csv' : 'https://mapbiz.jp/app/system/api/upload_shop_link_csv.php', 'get_review_list' : 'https://mapbiz.jp/app/system/api/get_review_list.php', 'update_review_reply' : 'https://mapbiz.jp/app/system/api/update_review_reply.php', 'delete_review_reply' : 'https://mapbiz.jp/app/system/api/delete_review_reply.php', 'start_datasync' : 'https://mapbiz.jp/app/system/api/start_datasync.php', 'get_datasync' : 'https://mapbiz.jp/app/system/api/get_datasync_result.php', 'get_negative_list' : 'https://mapbiz.jp/app/system/api/get_negative_list.php', 'set_negative' : 'https://mapbiz.jp/app/system/api/set_negative.php', 'get_location_media_list' : 'https://mapbiz.jp/app/system/api/get_location_media_list.php', 'get_location_media_category' : 'https://mapbiz.jp/app/system/api/get_location_media_category_list.php', 'get_location_media_info' : 'https://mapbiz.jp/app/system/api/get_location_media_info.php', 'delete_location_media' : 'https://mapbiz.jp/app/system/api/delete_location_media.php', 'register_location_media' : 'https://mapbiz.jp/app/system/api/register_location_media.php', 'upload_location_media' : 'https://mapbiz.jp/app/system/api/upload_location_media.php', 'update_location_media' : 'https://mapbiz.jp/app/system/api/update_location_media.php', 'start_location_media_sync' : 'https://mapbiz.jp/app/system/api/start_location_media_sync.php', 'get_account_list' : 'https://mapbiz.jp/app/system/api/get_account_list.php', 'upsert_account' : 'https://mapbiz.jp/app/system/api/upsert_account.php', 'delete_account' : 'https://mapbiz.jp/app/system/api/delete_account.php', 'get_location_insight' : 'https://mapbiz.jp/app/system/api/get_location_insight.php', 'get_location_performance' : 'https://mapbiz.jp/app/system/api/get_location_performance.php', 'download_location_insight_csv' : 'https://mapbiz.jp/app/system/api/download_location_insight_csv.php', 'download_location_performance_csv' : 'https://mapbiz.jp/app/system/api/download_location_performance_csv.php' }, homeinput : '/static/template/home.php', pages : [ { 'key' : '404', 'pathname' : '/404/', 'input' : '/static/template/404.php', 'label' : '404', 'hidden' : true }, { 'key' : 'account', 'pathname' : '/account/', 'input' : '/static/template/account.php', 'label' : 'サイト選択', 'hidden' : true }, { 'key' : 'error', 'pathname' : '/systemerror/', 'input' : '/static/template/error.php', 'label' : 'システムエラー', 'hidden' : true } ], buttoncodes : [ { 'id' : 0, 'label' : 'なし' }, { 'id' : 1, 'label' : '予約' }, { 'id' : 2, 'label' : 'オンライン注文' }, { 'id' : 3, 'label' : '購入' }, { 'id' : 4, 'label' : '詳細' }, { 'id' : 5, 'label' : '登録' }, { 'id' : 6, 'label' : '今すぐ電話' } ], linkcodes : [ { 'id' : 0, 'label' : 'リンクなし', }, { 'id' : 1, 'label' : '共通', }, { 'id' : 2, 'label' : '個別' }, { 'id' : 3, 'label' : '店舗登録情報' } ], dispnum : [ { 'id' : 10, 'label' : '10', }, { 'id' : 50, 'label' : '50', }, { 'id' : 100, 'label' : '100', }, { 'id' : 500, 'label' : '500', } ], status : [ { 'id' : 0, 'label' : '下書き', }, { 'id' : 1, 'label' : '公開済み', }, { 'id' : 10, 'label' : '公開予約中', }, { 'id' : 20, 'label' : '削除予約中', }, { 'id' : 30, 'label' : '店舗更新予約中', }, { 'id' : 40, 'label' : 'リトライ予約中', } ], errormessage : { 'news' : { 'media' : { 'selector' : '[name=media]', 'or' : 'content', 'error_message_class' : 'media-error', 'message' : 'ファイルか内容のいずれかを入力してください' }, 'content' : { 'selector' : '[name=content]', 'or' : 'media', 'error_message_class' : 'content-error', 'message' : 'ファイルか内容のいずれかを入力してください' }, 'link_text' : { 'selector' : '[name=link_text]', 'required' : true, 'error_message_class' : 'link-text-error', 'message' : '共通URLを入力してください' }, 'shop_list' : { 'selector' : '[name^=shop_list][name$="[url]"]', 'required' : true, 'error_message_class' : 'shop-link-error', 'message' : '個別URLを入力してください' } }, 'event' : { 'title' : { 'selector' : '[name=title]', 'required' : true, 'error_message_class' : 'title-error', 'message' : 'タイトルを入力してください' }, 'start_date' : { 'selector' : '[name=start_date]', 'required' : true, 'error_message_class' : 'start-date-error', 'message' : '開始日を入力してください' }, 'end_date' : { 'selector' : '[name=end_date]', 'required' : true, 'error_message_class' : 'end-date-error', 'message' : '終了日を入力してください' }, 'link_text' : { 'selector' : '[name=link_text]', 'required' : true, 'error_message_class' : 'link-text-error', 'message' : '共通URLを入力してください' } }, 'coupon' : { 'title' : { 'selector' : '[name=title]', 'required' : true, 'error_message_class' : 'title-error', 'message' : 'タイトルを入力してください' }, 'start_date' : { 'selector' : '[name=start_date]', 'required' : true, 'error_message_class' : 'start-date-error', 'message' : '開始日を入力してください' }, 'end_date' : { 'selector' : '[name=end_date]', 'required' : true, 'error_message_class' : 'end-date-error', 'message' : '終了日を入力してください' } }, 'group' : { 'name' : { 'selector' : '[name=name]', 'required' : true, 'error_message_class' : 'name-error', 'message' : 'グループ名を入力してください' }, 'explain' : { 'selector' : '[name=explain]', 'required' : true, 'error_message_class' : 'explain-error', 'message' : '説明を入力してください' } }, 'media_upload' : { 'media' : { 'selector' : '[name=media]', 'required' : true, 'error_message_class' : 'media-error', 'message' : 'ファイルを選択してください' }, 'category' : { 'selector' : '[name=media_category_id]', 'required' : true, 'error_message_class' : 'media-category-id-error', 'message' : 'カテゴリを選択してください' } } } };