New Function #101
Updated by Deca Park over 1 year ago
<p>[ADMIN] 스토리 오더 관리 > 주문 관리 > 상세 (/storeOrder/)</p> <p>1.저장(save)<br /> 1) Process<br /> a) if 주문 상태 (smart_order_status) is UPDATED with 'SS02' (주문확정)<br /> - send App PUSH message<br /> b) if 주문 상태 (smart_order_status) is UPDATED with 'SS03' (수령대기중)<br /> - send App PUSH message<br /> c) if 주문 상태 (smart_order_status) is UPDATED with 'SS10' (매장취소(주문취소)) <span style="color:#e74c3c;">OR 'SS10' (매장취소(환불))</span><br (매장취소(주문취소))<br /> - send App PUSH message</p> <p>[FCM App PUSH message]</p> <p>1.Source<br /> - refer to sendFcmBuy() of attach sample source</p> <p>2.PUSH message<br /> 1) <strong>define as properties</strong><br /> - <strong>fcm_token</strong> : "erN3tlVoRlygkBeDMjiuZ-:APA91bFS8Smm9Co2cnJSibsMY4-wXRdfAJ8tplJAB3kfwWKivZstDX51YyMlIeIPBX5hLS99dMjaLJKP_otQMirgG4A_NzwQ0lS_5NlaaBHigUXfD1b5O46hWTq1dTA-aHJbHhiPofh4"<br /> - <strong>fcm_url </strong>: "http://3.38.142.200:3000"<br /> 2) message values<br /> a) pushType : "buy"<br /> b) title / content<br /> b-1) if smart_order_status = 'SS02' (주문확정)<br /> - title : "주문확정"<br /> - content : "주문이 확정되었습니다."<br /> b-2) if smart_order_status = 'SS03' (수령대기중)<br /> - title : "상품준비완료"<br /> - content : "상품 준비가 완료되었습니다."<br /> b-3) if smart_order_status = 'SS10' (매장취소(주문취소)) <span style="color:#e74c3c;">OR 'SS10' (매장취소(환불))</span><br (매장취소(주문취소))<br /> - title : "주문취소"<br /> - content : "주문이 취소되었습니다."<br /> c) mall_code : set by mall_code of the st_order<br /> d mall_name : set by mall_name of the st_order<br /> e) product_info : <br /> - refer to [API] GET /api/agent/store_order_list - Response > product_desc<br /> - ex) "상품 1개 외 2건"</p>