/*
 * @Descripttion: HJ
 * @Company: 思宏科技
 * @version: v1.0
 * @Author: HJ
 * @Date: 2021-03-17 11:45:03
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-03-18 10:42:36
 */
import request from '../../src/js/request'
import { _COMMON } from '../base-url'

// 将用户选择允许发送订阅消息回调给后端
export const fhAgreement = type =>
  request({
    url: `${_COMMON}/merchant/client/agreement/detail-by-type`,
    method: 'get',
    data: {
      protocolType: type
    }
  })

  // 获取是否强制阅读
export const fhReaderFile = () =>
  request({
    url:`${_COMMON}/merchant/client/agreement/set`,
    method:'get'
  })
