Project

General

Profile

Actions

기능(Feature) #1006

closed

기능(Feature) #983: * Home Management in ALICE + OMH

기능(Feature) #1003: 'Home Management' Menu to Admin

Popular Destinations_01

Added by ziniy Kang 7 months ago. Updated 6 months ago.

Status:
완료성공(Resolve)
Priority:
보통(Normal)
Assignee:
Start date:
08/17/2025
Due date:
08/22/2025
% Done:

100%

Estimated time:
Part:
Build env.:
Prod


Files

image.png (53.8 KB) image.png ziniy Kang, 07/30/2025 05:18 AM

Related issues

Related to Ellis improvement - 기능(Feature) #1105: [Admin Home Page - API] Make API for Popular destination완료성공(Resolve)Tan Jang08/04/202508/04/2025

Actions
Related to Ellis improvement - 기능(Feature) #1164: UI/UX Admin Site Popular Destinations_01완료성공(Resolve)Tom Dong08/18/202508/20/2025

Actions
Actions #1

Updated by ziniy Kang 7 months ago

  • Assignee changed from ziniy Kang to Joseph Vo
Actions #2

Updated by Joseph Vo 7 months ago

  • Assignee changed from Joseph Vo to Tom Dong
Actions #3

Updated by Joseph Vo 7 months ago

  • Due date set to 08/18/2025
Actions #4

Updated by Joseph Vo 7 months ago

Create new table : CO_DISPLAY

Popular destination item
Popular destination master : 6 column langs, Region array,

Actions #5

Updated by Tan Jang 7 months ago


+ popular destinations
    - upload image    - PUT         /popular-destination/image/upload
    - delete image    - PUT         /popular-destination/image/delete
    - save item     - PUT         /popular-destination/item -> {
                                        "language": "EN",
                                        "country": "KR",
                                        "stationTypeCode": "STN03",
                                        "currency": "KRW",
                                        "condition": {
                                            "destinationNameEn": "Paris",
                                            "destinationNameKo": "파리",
                                            "destinationNameJa": "パリ",
                                            "destinationNameVi": "Paris",
                                            "destinationNameZh": "巴黎",
                                            "destinationNameZs": "Παρίσι",
                                            "regionCode": 301,
                                            "countryCode": "FR",
                                            "imageUrl": "/data/share/20250805/ARA03/I/2.jpg",
                                            "displayOrder": 1,
                                            "controlRemark": "2025년 여름 추천 여행지",
                                            "imageUrlDelete": "/data/share/20250805/ARA03/I/2.jpg" 
                                        }
                                    }
    - delete item     - DELETE     /popular-destination/item -> {popularDestinationItemSeq, imageUrl}
    - list item        - POST        /popular-destination/item/list -> {
                                        "language": "EN",
                                        "country": "KR",
                                        "stationTypeCode": "STN03",
                                        "currency": "KRW",
                                        "condition": {
                                            "fromDate": "2025-08-01",
                                            "toDate": "2025-08-21",
                                            "regionCode": 301,
                                            "countryCode": "FR",
                                            "limits": [
                                                0,
                                                1
                                            ]
                                        }
                                    }
    - list master    - POST         /popular-destination/master/list -> {
                                        "language": "EN",
                                        "country": "KR",
                                        "stationTypeCode": "STN03",
                                        "currency": "KRW",
                                        "condition": {}
                                    }
                                    -> res {
                                        "result": {
                                            "list": [
                                                {
                                                    "popularDestinationMasterSeq": 1,
                                                    "displayAreaSeq": 100050,
                                                    "groupTitleEn": "Top Cities in Europe",
                                                    "groupTitleKo": "유럽 인기 도시",
                                                    "groupTitleJa": "ヨーロッパの人気都市",
                                                    "groupTitleVi": "Thành phố nổi bật ở Châu Âu",
                                                    "groupTitleZh": "欧洲热门城市",
                                                    "groupTitleZs": null,
                                                    "popularDestinationItemSeqs": "1",
                                                    "displayOrder": null,
                                                    "controlRemark": null,
                                                    "itemList": [
                                                        {
                                                            "totalCount": null,
                                                            "popularDestinationItemSeq": 1,
                                                            "displayAreaSeq": 100050,
                                                            "destinationNameEn": "Paris",
                                                            "destinationNameKo": "파리",
                                                            "destinationNameJa": "パリ",
                                                            "destinationNameVi": "Paris",
                                                            "destinationNameZh": "巴黎",
                                                            "destinationNameZs": "Παρίσι",
                                                            "regionCode": 301,
                                                            "countryCode": "FR",
                                                            "imageUrl": "/data/share/20250805/ARA03/I/2.jpg",
                                                            "displayOrder": 1,
                                                            "controlRemark": "2025년 여름 추천 여행지" 
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    }
    - save master    - PUT         /popular-destination/master/save -> {
                                        "language": "EN",
                                        "country": "KR",
                                        "stationTypeCode": "STN03",
                                        "currency": "KRW",
                                        "condition": {
                                            "cityList": [
                                                {
                                                    "popularDestinationItemSeqs": "1",
                                                    "groupTitleEn": "Top Cities in Europe",
                                                    "groupTitleKo": "유럽 인기 도시",
                                                    "groupTitleVi": "Thành phố nổi bật ở Châu Âu",
                                                    "groupTitleJa": "ヨーロッパの人気都市",
                                                    "groupTitleZh": "欧洲热门城市" 
                                                }
                                            ]
                                        }
                                    }

curl --location --request POST 'http://localhost:8080/admin/popular-destination/preview' \
--header 'accept: application/json, text/plain, */*' \
--header 'accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5' \
--header 'content-type: application/json' \
--header 'origin: https://dev-adm.ohmyhotel.com' \
--header 'priority: u=1, i' \
--header 'referer: https://dev-adm.ohmyhotel.com/' \
--header 'sec-ch-ua: "Chromium";v="136", "Google Chrome";v="136", "Not.A/Brand";v="99"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "Windows"' \
--header 'sec-fetch-dest: empty' \
--header 'sec-fetch-mode: cors' \
--header 'sec-fetch-site: same-site' \
--header 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36' \
--header 'usertoken: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjIwODEiLCJyb2xlcyI6WyJ0YW4udG1Ab2hteWhvdGVsLmNvbSIsIjEyMjA4MSIsIkFRQUFBQUlBQUNjUUFBQUFFQjBrUnRpL04xYUJiQmVaMTdzNFA2MHF0a2tkZGZnQnYveUJmb0I2SEVMeDNuUVI0Q0ZGRjg2RTFEelBZM2RWNEE9PSJdLCJpYXQiOjE3NTQ5NjIzMjQsImV4cCI6MTc1NDk4MDMyNH0._EjfWq4kESFJKLUtrA3cxeWlGDckiAkVabGj4R5pwG8' \
--data-raw '{
    "language": "EN",
    "country": "KR",
    "stationTypeCode": "STN03",
    "currency": "KRW",
    "condition": {
        "list": [
            {
                "groupTitleJa": "ヨーロッパの人気都市",
                "popularDestinationMasterSeq": 2,
                "popularDestinationItemSeqs": "7,8,9,10,11,12",
                "groupTitleEn": "Top Cities in Europe",
                "groupTitleZs": null,
                "groupTitleZh": "欧洲热门城市",
                "controlRemark": null,
                "displayOrder": null,
                "itemList": [
                    {
                        "destinationNameKo": "파리",
                        "displayOrder": 1,
                        "totalCount": null,
                        "destinationNameZs": "Παρίσι",
                        "destinationNameJa": "パリ",
                        "destinationNameVi": "Paris",
                        "regionCode": 102189,
                        "regionType": "city",
                        "countryCode": "FR",
                        "imageUrl": "/data/share/20250812/ARA06/I/destination1.png",
                        "controlRemark": "2025년 여름 추천 여행지",
                        "destinationNameZh": "巴黎",
                        "popularDestinationItemSeq": 7,
                        "destinationNameEn": "Paris",
                        "displayAreaSeq": 100050
                    },
                    {
                        "destinationNameKo": "도쿄",
                        "displayOrder": 1,
                        "totalCount": null,
                        "destinationNameZs": "Παρίσι",
                        "destinationNameJa": "東京 23 区",
                        "destinationNameVi": "Tokyo",
                        "regionCode": 102911,
                        "regionType": "city",
                        "countryCode": "JP",
                        "imageUrl": "/data/share/20250812/ARA06/I/destination2.png",
                        "controlRemark": "2025년 여름 추천 여행지",
                        "destinationNameZh": "东京",
                        "popularDestinationItemSeq": 8,
                        "destinationNameEn": "Tokyo",
                        "displayAreaSeq": 100050
                    },
                    {
                        "destinationNameKo": "오사카",
                        "displayOrder": 3,
                        "totalCount": null,
                        "destinationNameZs": "Παρίσι",
                        "destinationNameJa": "大阪市",
                        "destinationNameVi": "Osaka",
                        "regionCode": 102156,
                        "regionType": "city",
                        "countryCode": "JP",
                        "imageUrl": "/data/share/20250812/ARA06/I/destination3.png",
                        "controlRemark": "2025년 여름 추천 여행지",
                        "destinationNameZh": "大阪",
                        "popularDestinationItemSeq": 9,
                        "destinationNameEn": "Osaka",
                        "displayAreaSeq": 100050
                    },
                    {
                        "destinationNameKo": "나트랑",
                        "displayOrder": 3,
                        "totalCount": null,
                        "destinationNameZs": "Παρίσι",
                        "destinationNameJa": "ニャチャン",
                        "destinationNameVi": "Nha Trang",
                        "regionCode": 144106,
                        "regionType": "city",
                        "countryCode": "VN",
                        "imageUrl": "/data/share/20250812/ARA06/I/destination4.png",
                        "controlRemark": "2025년 여름 추천 여행지",
                        "destinationNameZh": "芽庄",
                        "popularDestinationItemSeq": 10,
                        "destinationNameEn": "Nha Trang",
                        "displayAreaSeq": 100050
                    },
                    {
                        "destinationNameKo": "교토",
                        "displayOrder": 5,
                        "totalCount": null,
                        "destinationNameZs": "Παρίσι",
                        "destinationNameJa": "京都市",
                        "destinationNameVi": "Kyoto",
                        "regionCode": 108923,
                        "regionType": "city",
                        "countryCode": "JP",
                        "imageUrl": "/data/share/20250812/ARA06/I/destination5.png",
                        "controlRemark": "2025년 여름 추천 여행지",
                        "destinationNameZh": "京都",
                        "popularDestinationItemSeq": 11,
                        "destinationNameEn": "Kyoto",
                        "displayAreaSeq": 100050
                    },
                    {
                        "destinationNameKo": "하롱",
                        "displayOrder": 5,
                        "totalCount": null,
                        "destinationNameZs": "Παρίσι",
                        "destinationNameJa": "ハロン",
                        "destinationNameVi": "Ha Long",
                        "regionCode": 144618,
                        "regionType": "city",
                        "countryCode": "VN",
                        "imageUrl": "/data/share/20250812/ARA06/I/destination6.png",
                        "controlRemark": "2025년 여름 추천 여행지",
                        "destinationNameZh": "下龙",
                        "popularDestinationItemSeq": 12,
                        "destinationNameEn": "Ha Long",
                        "displayAreaSeq": 100050
                    }
                ],
                "groupTitleKo": "유럽 인기 도시",
                "groupTitleVi": "Thành phố nổi bật ở Châu Âu",
                "displayAreaSeq": 100050
            }
        ]
    }
}'
Actions #6

Updated by Tan Jang 7 months ago

Actions #7

Updated by Tom Dong 7 months ago

Actions #8

Updated by Tom Dong 7 months ago

  • Due date set to 08/22/2025
  • Start date set to 08/17/2025
  • % Done changed from 0 to 100
  • Build env. set to Dev
Actions #9

Updated by Tom Dong 7 months ago

  • Status changed from 신규(New) to 완료(Done)
Actions #10

Updated by Tom Dong 6 months ago

  • Status changed from 완료(Done) to QA test
  • Assignee changed from Tom Dong to Tracy Tran
Actions #11

Updated by Tom Dong 6 months ago

  • Build env. changed from Dev to Prod
Actions #12

Updated by Tracy Tran 6 months ago

  • Assignee changed from Tracy Tran to Tracy Truong
Actions #13

Updated by Tracy Truong 6 months ago

  • Status changed from QA test to 완료(Done)
  • Assignee changed from Tracy Truong to Tom Dong

Testing on task #1410

Actions #14

Updated by ziniy Kang 6 months ago

  • Status changed from 완료(Done) to 완료성공(Resolve)
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 50 MB)