2025-04-20 05:10:10 +00:00
|
|
|
import {
|
|
|
|
|
httpDeleteInterceptor,
|
|
|
|
|
httpGet,
|
|
|
|
|
httpPost,
|
|
|
|
|
httpPut,
|
|
|
|
|
} from "./http-config/axios-base-service";
|
|
|
|
|
import Cookies from "js-cookie";
|
|
|
|
|
|
|
|
|
|
const token = Cookies.get("access_token");
|
|
|
|
|
|
|
|
|
|
export async function subscription(data: any) {
|
|
|
|
|
const headers = {
|
|
|
|
|
"content-type": "application/json",
|
|
|
|
|
};
|
2026-03-30 13:45:04 +00:00
|
|
|
const pathUrl = `/subscription`; //test
|
2025-04-20 05:10:10 +00:00
|
|
|
return await httpPost(pathUrl, headers, data);
|
|
|
|
|
}
|