修复 JSONA.jsonApi 编译错误
Gitea Actions Build / Build (push) Canceled after 0s

This commit is contained in:
2026-11-07 13:59:42 +08:00
parent 535c03d14a
commit 184db461d7
2 changed files with 6 additions and 6 deletions
@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
* *
* ProjectName FastBaseMapper.kt * ProjectName mingli-utils
* ModuleName mingli-utils.main * ModuleName mingli-utils.main
* CurrentFile Jackson3JsonApiAutoConfiguration.kt * CurrentFile Jackson3JsonApiAutoConfiguration.kt
* LastUpdate 2026-10-26 23:22:18 * LastUpdate 2026-11-07 13:59:11
* UpdateUser MingLiPro * UpdateUser MingLiPro
*/ */
@@ -95,7 +95,7 @@ open class Jackson3JsonApiAutoConfiguration {
.also { .also {
logger.info("JsonApi Bean Auto Configuration Success") logger.info("JsonApi Bean Auto Configuration Success")
try { try {
JSONA.getJsonApi() JSONA.jsonApi
} catch (_: NullPointerException) { } catch (_: NullPointerException) {
JSONA.setJsonApi(it) JSONA.setJsonApi(it)
logger.info( logger.info(
@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
* *
* ProjectName FastBaseMapper.kt * ProjectName mingli-utils
* ModuleName mingli-utils.main * ModuleName mingli-utils.main
* CurrentFile JacksonJsonApiAutoConfiguration.kt * CurrentFile JacksonJsonApiAutoConfiguration.kt
* LastUpdate 2026-10-26 23:22:18 * LastUpdate 2026-11-07 13:59:41
* UpdateUser MingLiPro * UpdateUser MingLiPro
*/ */
@@ -65,7 +65,7 @@ open class JacksonJsonApiAutoConfiguration {
return JacksonJsonApi(objectMapper).also { return JacksonJsonApi(objectMapper).also {
log.info("JsonApi Bean Auto Configuration Success") log.info("JsonApi Bean Auto Configuration Success")
try { try {
JSONA.getJsonApi() JSONA.jsonApi
} catch (_: NullPointerException) { } catch (_: NullPointerException) {
JSONA.setJsonApi(it) JSONA.setJsonApi(it)
log.info( log.info(