Macklin API paths that only respond to an authenticated session. Kept apart from ApiEndpoints so callers can tell which requests need credentials.
AuthRequiredEndpoints.ORDER_LIST; // "/api/center/order_list" Copy
AuthRequiredEndpoints.ORDER_LIST; // "/api/center/order_list"
export enum AuthRequiredEndpoints { ORDER_LIST = '/api/center/order_list', EXPRESS = '/api/center/express', PREPAY = '/api/center/prepay', COUPON = '/api/center/coupon', ADDRESS_LIST = '/api/address/list', FRUIT_ORDER = '/api/fruit/order',} Copy
export enum AuthRequiredEndpoints { ORDER_LIST = '/api/center/order_list', EXPRESS = '/api/center/express', PREPAY = '/api/center/prepay', COUPON = '/api/center/coupon', ADDRESS_LIST = '/api/address/list', FRUIT_ORDER = '/api/fruit/order',}
Macklin API paths that only respond to an authenticated session. Kept apart from ApiEndpoints so callers can tell which requests need credentials.
Example
Source