Selaa lähdekoodia

fix: 税邦云响应封装

shc 3 vuotta sitten
vanhempi
commit
d2accfdbdc

+ 1 - 1
hnqz-common/hnqz-common-taxhelper/src/main/java/com/qunzhixinxi/hnqz/common/taxhelper/service/TaxHelperService.java

@@ -393,7 +393,7 @@ public class TaxHelperService {
 
 			// 获取小程序token的时候没有code
 			if (StringUtils.isEmpty(code)) {
-				if (StringUtils.isEmpty(msg)) {
+				if (StringUtils.isNotEmpty(msg)) {
 					code = String.valueOf(CommonConstants.CLIENT_ERROR_CODE);
 				} else {
 					code = String.valueOf(CommonConstants.SUCCESS_CODE);