| 对比新文件 |
| | |
| | | package com.sandu.ximon.admin.utils; |
| | | |
| | | |
| | | import com.sandu.ximon.dao.domain.AliConfigEntity; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | @Component |
| | | public class ConfigCheckUtils { |
| | | |
| | | public static String checkAlipayConfig(AliConfigEntity WxConfigEntity) { |
| | | if(WxConfigEntity == null) { |
| | | return "涓嬪崟澶辫触锛佽鑱旂郴绠$悊鍛樺鐞嗭紒閿欒鐮侊細100"; |
| | | } else if (WxConfigEntity.getAppId() == null || WxConfigEntity.getPrivateKey() == null || WxConfigEntity.getPublicKey() == null) { |
| | | return "涓嬪崟澶辫触锛佽鑱旂郴绠$悊鍛樺鐞嗭紒閿欒鐮侊細101"; |
| | | } |
| | | return null; |
| | | } |
| | | } |