/*
 * @Author: 吴文洁
 * @Date: 2020-10-10 18:21:47
 * @LastEditors: renmanyi
 * @LastEditTime: 2026-02-03 15:38:06
 * @Description: 
 * @Copyright: 杭州杰竞科技有限公司 版权所有
 */
import Service from '@/common/js/service';

export const getOssClient = (
  data: object,
  instId: string,
  bizCode: string,
  resourceName: string,
  accessTypeEnum: string
) => {
  return Service.postJSON('business/public/mfs/commonUpload', {
    data,
    instId,
    bizCode,
    resourceName,
    needSecret: true,
    accessTypeEnum
  });
}