가맹점 정보, 일부 상수 및 공용 변경
This commit is contained in:
16
src/shared/api/api-url-merchant.ts
Normal file
16
src/shared/api/api-url-merchant.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import {
|
||||
API_BASE_URL,
|
||||
API_URL_KEY,
|
||||
} from './../constants/url';
|
||||
|
||||
/* nmsa-merchant-controller */
|
||||
export const API_URL_MERCHANT = {
|
||||
merchantMid: (mid: string) => {
|
||||
// POST: 가맹점 정보 조회 API
|
||||
return `${API_BASE_URL}/api/v1/${API_URL_KEY}/app/merchant/${mid}`;
|
||||
},
|
||||
merchantMidStatus: (mid: string) => {
|
||||
// POST: 가맹점 등록 현황 조회 API
|
||||
return `${API_BASE_URL}/api/v1/${API_URL_KEY}/app/merchant/${mid}/status`;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user