New Function #360
closed[알림톡] 알림톡 발송 유형 추가
Description
- 알림톡 템플릿 코드 : ap0005
- 내용 :
스토리 쇼핑 신규 주문이 있습니다.
* 주문 번호 : #{주문번호}
* 주문 일시 : #{주문일시}
* 주문 쇼핑몰 : #{쇼핑몰명}
* 주문 상품 : #{상품명} #{상품수량}개
- 발송 시점 : 결제 상태가 '결제 완료'인 스토리 쇼핑 주문이 생성되었을 때
- 발송 번호 : [스토리 쇼핑 관리 > 쇼핑몰 등록 관리 > 상세]의 관리자 연락처
관리자 연락처 아래에 안내 추가를 부탁드립니다.
**입력된 관리자 연락처는 새로운 스토리 쇼핑 주문이 있을 경우, 알림톡 발송 수신번호로 사용됩니다.
Updated by Deca Park about 1 year ago
[ADMIN] 스토리 쇼핑 관리 > 쇼핑몰 등록 관리 (/mall) > 추가(Add),상세(Modify)
1.field
1) 관리자 연락처 (manager phone)
a) append guide text
- "**입력된 관리자 연락처는 새로운 스토리 쇼핑 주문이 있을 경우, 알림톡 발송 수신번호로 사용됩니다."
Updated by Deca Park about 1 year ago
[API] POST /api/online_order
1.if payment_amount = 0
- add logic: online order - kakao message send
[API] POST /api/pay_confirm
1.if PG API is success and mall_type = 'online'
- add logic: online order - kakao message send
- OrderController: line(797)
[online order - kakao message send]
1.logic (refer to admin MessageService)
1) if {st_mall.manager_phone} with order mall_code is empty(NULL)
- SKIP
else
- kakao message send
2) process
a) INSERT DB (st_kakao_message_send)
- msg_template_id: 'ap0005'
- receive_user_seq: NULL
- receive_tel_no: {st_mall.manager_phone} with order mall_code
- msg_send_date : current datetime
- msg_content : msg of 'ap0005' template
- order_no : the order_no
b) msg_content (msg of 'ap0005' template)
b-1){orderDate} : format (yyyy-mm-dd hh:mm:ss)
b-2) order product
- if order product is one, "{productName} {orderCount}개"
- if order product is multiple, "{productName} 외 {totalOrderCount}개"
ex) order product:count: A:1, B:1
- show "A 외 2개"
Updated by Deca Park about 1 year ago
- Assignee changed from Deca Park to bryant bryant
Updated by bryant bryant about 1 year ago
- Status changed from New to Resolved
- Assignee changed from bryant bryant to Deca Park
Updated by Deca Park about 1 year ago
- Assignee changed from Deca Park to Jisoo Choi