feat: 쿠폰등록
This commit is contained in:
@@ -82,3 +82,15 @@ export const csrGetCountry = () => {
|
||||
}
|
||||
return countryCode
|
||||
}
|
||||
|
||||
/**
|
||||
* STOVE 쿠폰함 링크 조회
|
||||
*/
|
||||
export const getStoveCouponUrl = (device: string) => {
|
||||
const runtimeConfig = useRuntimeConfig()
|
||||
|
||||
const stoveCouponUrl = runtimeConfig.public.stoveCouponUrl as string
|
||||
const stoveMCouponUrl = runtimeConfig.public.stoveMCouponUrl as string
|
||||
|
||||
return device === 'desktop' ? stoveCouponUrl : stoveMCouponUrl
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user