| | |
| | | } |
| | | |
| | | public static String getLoginCodeCacheKey(String fileName) { |
| | | return QyWechatConstant.CODE_KEY + QyWechatConstant.QY_CODE_LOGIN_TYPE + SystemPropertyUtils.VALUE_SEPARATOR + fileName; |
| | | return QyWechatConstant.CODE_KEY + QyWechatConstant.QY_CODE_LOGIN_TYPE + ":" + fileName; |
| | | } |
| | | |
| | | public static String getBindCodeCacheKey(String fileName, Long empId) { |
| | | return QyWechatConstant.CODE_KEY + QyWechatConstant.QY_CODE_BIND_TYPE + SystemPropertyUtils.VALUE_SEPARATOR + fileName + SystemPropertyUtils.VALUE_SEPARATOR + empId; |
| | | return QyWechatConstant.CODE_KEY + QyWechatConstant.QY_CODE_BIND_TYPE + ":" + fileName + ":" + empId; |
| | | } |
| | | |
| | | public static String codeFileToBase64(File codeFile) { |