package com.jeeplus.modules.wexinpackage.access.util.access;

/**
 * 微信参数封装
 */
public class WeChatParamsUtil {
    //token
    public final static String token ="9ZmhR1CRrGIOSMxCcznVccQN8f3XX2w4GMoacioSkovFuJdCwMBvTHsJpGf67bUVtkHEqLzYIyaamn9dEyPJKcVxgIeERJpAwa9uNtW68EXYwOBvR2blpiQ3aM9l7ndqMJThfEWlcUz8oBzOh6XZPQqTcLwb95yHhwQO14KdIXj6Q1nko9rjp-9c-LsrzoS_SNu4TxTqTqoYj5ztp3J9Wg";
    //企业id
    public final static String corpId = "wwb8c36b4b35675fe9";
    //应用的凭证密钥
    public final static String agentSecret = "kekm2UtL_82xFr6tMi4N2cWQFMHNKhLD-0bwIIaUQP0";
    //通讯录秘钥 (获取tokenid)
    public final static String contactsSecret = "X67oIAoM8_SR9VhW7exd4_JKaeW5st8DKxvNluTZfi4";
    //企业应用的id，整型。可在应用的设置页面查看
    public final static int agentId = 1000002;
    //通讯录token
    public final static String contacts_token = "jqzaHYO";
    // encodingAESKey
    public final static String encodingAESKey = "YnOAOlnqpx3qudeoQxmo8W1YSneCubW3zVWntu1g4vT";

    final static String ACCESS_TOKEN_URL = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid={corpId}&corpsecret={corpsecret}";
    //创建用户
    final static String CREATE_USER = "https://qyapi.weixin.qq.com/cgi-bin/user/create?access_token=ACCESS_TOKEN";
    //更新用户
    final static String UPDATE_USER = "https://qyapi.weixin.qq.com/cgi-bin/user/update?access_token=ACCESS_TOKEN";
    //删除用户
    final static  String DELETE_USER="https://qyapi.weixin.qq.com/cgi-bin/user/delete?access_token=ACCESS_TOKEN&userid=USERID";
    //查找用户
    public final static  String SELECT_USER="https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&userid=USERID";

    //创建部门
    final static String create_department = "https://qyapi.weixin.qq.com/cgi-bin/department/create?access_token=ACCESS_TOKEN";
    //更新部门
    final static String update_department = "https://qyapi.weixin.qq.com/cgi-bin/department/update?access_token=ACCESS_TOKEN";
    //删除部门
    final static String delete_department = "https://qyapi.weixin.qq.com/cgi-bin/department/delete?access_token=ACCESS_TOKEN&id=ID";
    //获取部门列表
    final static String select_department = "https://qyapi.weixin.qq.com/cgi-bin/department/list?access_token=ACCESS_TOKEN&id=ID";
}
