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