Project

General

Profile

Actions

New Function #244

closed

[API] 로그 생성 (log)

Added by Deca Park 10 months ago. Updated 9 months ago.

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

0%

Estimated time:
Spent time:

Description

[API] log common function

1.common function
  - level(INFO)
  - msg format: "[API] {API method} {API url} {msg type} : " + "{message text}"
  - {msg type} : receive/success/fail

2.target API
  1) POST /api/agent/store_order_status, POST /api/agent/store_order_status_new
     a) receive 
       - "[API] POST /api/agent/store_order_status receive : " + "order_no: {param}, smart_order_status: {param}"
     b) success
       - "[API] POST /api/agent/store_order_status success : " + "order_no: {param}, smart_order_status: {param}"
     c) fail
       - "[API] POST /api/agent/store_order_status fail : " + "order_no: {param}, smart_order_status: {param}, error_msg: {error msg}"
  2) GET /api/pos/order_product_receive
     a) receive 
       - "[API] POST /api/pos/order_product_receive receive : " + "mall_code: {param}, order_no: {param}"
     b) success
       - "[API] POST /api/pos/order_product_receive success : " + "mall_code: {param}, order_no: {param}"
     c) fail
       - "[API] POST /api/pos/order_product_receive fail : " + "mall_code: {param}, order_no: {param}, error_msg: {error msg}"

Actions

Also available in: Atom PDF