
using ASHermed.SinoInterface.Api.ContractModel.App;
using ASHermed.SinoInterface.Api.ContractModel.Framework.Login;
using ASHermed.SinoInterface.ContractModel;
using Jiguang.JPush.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ASHermed.SinoInterface.IFramework
{
    /// <summary>
    /// 极光推送
    /// </summary>
    public interface IJpushService
    {

        bool TestJpush(string ios_id);
        /// <summary>
        /// 1咨询, 2患教, 3音视频, 4满意度调查, 5预约提交, 6预约取消, 7互动, 8APP更新, 9报告SignOff, 20复诊开药APP消息列表最新，21视频问诊APP消息列表最新, 25我的账单红点,30统一带跳转的,31诊前15分钟弹框, 32待支付订单提醒 35七陌回复提醒 38疫苗预约提醒
        /// </summary>
        /// <param name="arr"></param>
        /// <param name="msg_title"></param>
        /// <param name="msg_content"></param>
        /// <param name="msg_type"></param>
        /// <param name="businessId">对应type的ID 例如1就是用户ID 2就是患教咨询ID</param>
        /// <param name="unread"></param>
        /// <param name="accptMd"></param>
        /// <param name="appType">1患者版 2医生版</param>
        /// <returns></returns>
        HttpResponse JiGuangPush(string[] arr, string msg_title, string msg_content, string msg_type, string businessId, string unread, string accptMd, int appType,string url ="");
    }
}
