Project

General

Profile

Actions

기능(Feature) #1026

closed

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

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

Implement Visual section page

Added by Joseph Vo 7 months ago. Updated 6 months ago.

Status:
완료성공(Resolve)
Priority:
보통(Normal)
Assignee:
Start date:
07/30/2025
Due date:
07/31/2025
% Done:

100%

Estimated time:
Part:
Build env.:
Prod

Description

Request :
Implement Visual section page

Add FileDimension, Control Remark BS_File_Manager

API save image
API load image (new)
API search (new)
API save Display banner


Related issues

Related to Ellis improvement - 기능(Feature) #1102: [Admin Home Page - API] Make API for Visual section완료성공(Resolve)Tan Jang07/30/202507/31/2025

Actions
Actions #1

Updated by Joseph Vo 7 months ago

  • Assignee set to Tom Dong
Actions #2

Updated by Tom Dong 7 months ago

  • Due date set to 08/05/2025
  • Status changed from 신규(New) to 진행(Doing)
  • Start date set to 08/01/2025
Actions #3

Updated by Tom Dong 7 months ago

  • % Done changed from 0 to 30
Actions #4

Updated by Tom Dong 7 months ago

  • % Done changed from 30 to 50
Actions #5

Updated by Tan Jang 7 months ago

+ visual section
    -upload image    - PUT         /visual-section/image/upload -> --form 'file=@"/C:/Users/Lenovo/Pictures/2.jpg"'
    -edit memo        - PUT         /visual-section/image/update -> --data-raw '{
                                        "language": "EN",
                                        "country": "KR",
                                        "stationTypeCode": "STN03",
                                        "currency": "KRW",
                                        "condition": {
                                            "fileManageSeq": 103530,
                                            "controlRemark": "this is memo" 
                                        }
                                    }'
    -search list    - POST         /visual-section/image/list     -> {
                                            "language": "EN",
                                            "country": "KR",
                                            "stationTypeCode": "STN03",
                                            "currency": "KRW",
                                            "condition": {
                                                "fromDate": "2025-08-01",
                                                "toDate": "2025-08-21",
                                                "fileName": "2.jpg",
                                                "displayedOnly": false,
                                                "limits": [
                                                    0,
                                                    1
                                                ]
                                            }
                                        }
                                        -> res {
                                            "result": {
                                                "totalCount": 4,
                                                "lastUpdateDatetime": "2025-08-05",
                                                "lastUpdateName": "Tan",
                                                "list": [
                                                    {
                                                        "totalCount": 4,
                                                        "fileManageSeq": 103530,
                                                        "fileNameOrigin": "2.jpg",
                                                        "filePath": "/data/share/20250805/ARA03/I/",
                                                        "fileDimension": "275x183",
                                                        "controlRemark": "this is memo",
                                                        "lastUpdateDatetime": "2025-08-05",
                                                        "lastUpdateName": "Tan" 
                                                    }
                                                ]
                                            }
                                        }

    -delete image    - DELETE     /visual-section/image/delete -> {
                                            "language": "EN",
                                            "country": "KR",
                                            "stationTypeCode": "STN03",
                                            "currency": "KRW",
                                            "condition": {
                                                "fileManageSeq": 103526,
                                                "fileNameOrigin": "b09a32e6bc4c4c48b9641767c3c0ba22.jpg",
                                                "filePath": "/data/share/20250805/ARA03/I/" 
                                            }
                                        }
    -load banner    - POST         /visual-section/banner -> {
                                                "language": "EN",
                                                "country": "KR",
                                                "stationTypeCode": "STN03",
                                                "currency": "KRW",
                                                "condition": {}
                                            }
    -save banner    - PUT         /visual-section/banner -> {
                                            "language": "EN",
                                            "country": "KR",
                                            "stationTypeCode": "STN03",
                                            "currency": "KRW",
                                            "condition": {
                                                "displayBannerSeq": 400197,
                                                "pcImageUrlEn": "/data/share/20250805/ARA03/I/2.jpg",
                                                "pcImageUrlKo": "/data/share/20250805/ARA03/I/2.jpg",
                                                "pcImageUrlVi": "/data/share/20250805/ARA03/I/2.jpg",
                                                "pcImageUrlJa": "/data/share/20250805/ARA03/I/2.jpg",
                                                "pcImageUrlZh": "/data/share/20250805/ARA03/I/2.jpg" 
                                            }
                                        }

curl --location --request POST 'http://localhost:8080/admin/visual-section/banner/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": {
        "displayBannerSeq": 400197,
        "pcImageUrlEn": "/data/share/20250812/ARA03/I/visual_section.png",
        "pcImageUrlKo": "/data/share/20250812/ARA03/I/visual_section.png",
        "pcImageUrlVi": "/data/share/20250812/ARA03/I/visual_section.png",
        "pcImageUrlJa": "/data/share/20250812/ARA03/I/visual_section.png",
        "pcImageUrlZh": "/data/share/20250812/ARA03/I/visual_section.png" 
    }
}'
Actions #6

Updated by Tom Dong 7 months ago

  • % Done changed from 50 to 80

done UI/UX

Actions #7

Updated by Tom Dong 7 months ago

  • % Done changed from 80 to 90

Wait for API

Actions #8

Updated by Tan Jang 7 months ago

Actions #9

Updated by Tom Dong 7 months ago

  • Status changed from 진행(Doing) to 완료(Done)
Actions #10

Updated by Tom Dong 6 months ago

  • Build env. set to Dev
Actions #11

Updated by Tom Dong 6 months ago

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

Updated by Tom Dong 6 months ago

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

Updated by Tracy Tran 6 months ago

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

Updated by Tracy Truong 6 months ago

  • Status changed from QA test to 완료(Done)
  • Assignee changed from Tracy Truong to Tan Jang
Actions #15

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)