import request from "../../../utils/request";
import { storeData } from "/src/store";
import { getQuery } from "/src/utils/queryString";

const query: any = getQuery();

export const setGuidance = (params: any) => {
    // 内容平台无需调用该接口
    return query.isCbs ? {} : request.post('/functionGuidance/save', {
      data: params,
      requestType: "json",
    });
  };
  
  /**
   * 获取引导页
   */
  export const getGuidance = (params: any) => {
    return storeData.platformApi == "/cbs-app" ? { data: null } : request.get('/functionGuidance/queryTagDetail', {
      data: params,
      params,
    });
  };
  

