Project

General

Profile

Actions

New Function #73

closed

[API] QA

Added by Deca Park about 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
07/12/2023
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

1.Error API

  1) coupon-controller
    a) GET /api/download_coupon_list : 500 error
  2) product-controller
    a) GET /api/mall_product : 401 error
    b) POST /api/cart_product
      - if mall_code & product_code is already existed, server error happens
      - if data is already existd, UPDATE product_count
  3) mall-contoller
    a) POST /api/mall_favorites : 401 error
    b) DELETE /api/mall_favorites : 401 error

Actions #1

Updated by Deca Park about 1 year ago

  • Description updated (diff)
Actions #2

Updated by bryant bryant about 1 year ago

  • Status changed from New to Resolved
  • Assignee changed from bryant bryant to Deca Park
Actions #3

Updated by Deca Park about 1 year ago

[API] POST /api/mall_favorites

1.Process logic
  1) if mall_code param isn't existed on DB (st_mall)
    - return error (status: 400, error_code: "mall.error.notExist" : "쇼핑몰이 존재하지 않습니다.(mall_code={0})" (with mall_code param)

Actions #4

Updated by Deca Park about 1 year ago

[API] GET /api/mall_list (Mall sheet on #32 - 20230711)

1.Parameter
  1) id : user ID (NEW) - not required
2.Response
  1) favorite_yn : "즐겨찾기여부" (NEW)    
3.Process
  1) if returned mall_code is favorite mall of id param, set "Y"
     else, set "N"
     [logic]
     DB (st_mall_favorites)
     condition: mall_code AND reg_user_seq = {user_seq of id param}

[API] GET /api/mall_product_list

1.Parameter
  1) id : user ID (NEW) - not required
2.Response
  1) interest_yn : "관심상품여부" (NEW)
3.Process
  1) if returned product_code is interest product of id param, set "Y"
     else, set "N"
     [logic]
     DB (st_product_interest)
     condition: product_code AND reg_user_seq = {user_seq of id param}

Actions #5

Updated by Deca Park about 1 year ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Deca Park to bryant bryant
Actions #6

Updated by Deca Park about 1 year ago

[Change phone no field of All ADMIN]

1.사용자 관리 > 사용자 회원 관리 (/user) > 상세 (Modify)
  시스템 관리 > 관리자 회원 관리 (/setting/user) > 추가(Add), 상세 (Modify)
  시스템 관리 > 나의 회원정보 관리 (/setting/me)
  1) 전화번호 field
    a) As-is
      - 3 inputbox (3-4-4)
    b) To-be
      - 1 inputbox
      - validation: number, max length (16bytes)
      - vaule is saved like '01011112222' (without -)

2.온라인몰 관리 > 쇼핑몰 등록 관리 (/mall) > 추가(Add), 상세 (Modify)
  1) 쇼핑몰 연락처 / 관리자 연락처
    - same with No 1-1)

3.온라인몰 관리 > 주문/배송 관리 (/onlineOrder) > 추가(Add), 상세 (Modify)
  1) 주문자 연락처 / 수령자 연락처
    - same with No 1-1)

4.스마트 오더 관리 > 매장 관리 (/store) > 추가(Add), 상세 (Modify)
  1) 매장 연락처 / 담당자 연락처
    - same with No 1-1)

5.스마트 오더 관리 > 주문 관리 (/storeOrder) > 추가(Add), 상세 (Modify)
  스마트 오더 관리 > 구독 상품 주문 관리 (/subscribeOrder) > 상세 (Modify)
  1) 주문자 연락처
    - same with No 1-1)

Actions #7

Updated by Deca Park about 1 year ago

  • Assignee changed from bryant bryant to Toby Pham
Actions #8

Updated by Deca Park about 1 year ago

[API] All List API with Response > data array

1.As-is
  - if No data, 404 error return
2.To-be
  - although No data, return 200 (ok) and data array is set by [] (empty array)

Actions #9

Updated by Toby Pham about 1 year ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Toby Pham to Deca Park
Actions #10

Updated by Deca Park 8 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF