import request from '@/utils/request'
import { URL } from '@/config'

/**
 * 个推测试接口
 * @author Seven
 * @data 2025-1-6
 * @param { 
 * 
 *   "cid": "13128997057", // 终端id
      "title": "小发同城", // 标题
      "message": "尊敬的商家，你有一条新的订单，请及时处理！", // 推送内容
      "clickType":"url", // 点击类型
      "clickContent":"https://mall.gpxscs.cn"// 跳转地址
 *  } 
 * @returns {  }
 * @see https://mall.gpxscs.cn/mobile/account/login/push/testcase
 */

export function orderPushTest(params) {
  return request({
    url: URL.orderPush.orderPushTest,
    method: 'post',
    headers: {
      'Content-Type': 'application/json',
    },
    data: params,
  })
}
