Project

General

Profile

New Function #137

Updated by Deca Park 11 months ago

<p>1.<strong>[API] GET /api/order</strong></p> 

 <p>&nbsp; 1) Response<br /> 
 &nbsp; &nbsp; a) <strong>payment_method_name</strong><br /> 
 &nbsp; &nbsp; &nbsp; <s>a-1) a-1) if payment_method is NULL (payment_amount = 0)<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; -<strong> format: &quot;포인트 + 적립금 + 쿠폰&quot;</strong><br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+ if use_point &gt; 0, show &quot;포인트&quot;<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+ if use_money &gt; 0, show &quot;적립금&quot;<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+ if coupon_amount &gt; 0, show &quot;쿠폰&quot;<br /> 
 &nbsp; &nbsp; &nbsp; a-2) f payment_method is NOT NULL (payment_amount &gt; 0)<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; -<strong> format: &quot;포인트 + 적립금 + 쿠폰 + {payment_method&#39;s code name}&quot;</strong></s></p> name}&quot;</strong></p> 

 <p><strong>&nbsp; &nbsp; &nbsp; <span style="color:#e74c3c;">a-1)&nbsp;use_point &nbsp;/&nbsp;use_money / coupon_amount</span></strong><span style="color:#e74c3c;"><br /> 
 <strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong>if use_point &gt; 0, append &quot;포인트&quot; with &quot; + &quot;<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if use_money &gt; 0, append &quot;적립금&quot; with &quot; + &quot;<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if coupon_amount &gt; 0, append &quot;쿠폰&quot; with &quot; + &quot;</span></p> 

 <p><span style="color:#e74c3c;">&nbsp; &nbsp; &nbsp; <strong>a-2) if payment_method is NOT NULL (payment_amount &gt; 0)</strong><br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; - append&nbsp;{payment_method&#39;s code name} with&nbsp;&quot; + &quot;</span></p> 

 <p><strong>&nbsp; &nbsp; &nbsp;</strong>b) &nbsp;</strong><span style="color:#e74c3c;">b) add 3 fields next to mall_name field (refer to #32 : API-20231030)<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp;-&nbsp;mall_biz_no / mall_ceo / mall_address : set by st_mall columns</p> columns</span></p> 

 <p><strong>2.[API] GET /api/order_list</strong></p> 

 <p><strong>&nbsp; </strong>1) Response<br /> 
 &nbsp; &nbsp; a)&nbsp;payment_method_name<br /> 
 <strong>&nbsp; &nbsp; &nbsp; - same with&nbsp;[API] GET /api/order</strong></p> 

 <p><strong>&nbsp; &nbsp; </strong>b)&nbsp;add </strong><span style="color:#e74c3c;">b)&nbsp;add 3 fields next to mall_name field<br /> 
 &nbsp; &nbsp; &nbsp; -&nbsp;same with&nbsp;[API] GET /api/order</p> /api/order</span></p> 

Back