去掉默认备注信息;支付微信小程序官方审核服务所有权;发布新包

This commit is contained in:
BBIT-Kai
2026-08-03 11:17:20 +08:00
parent 97dc9fa82e
commit d4c120c094
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
$VERSION = "1.0" $VERSION = "1.1"
$IMAGE = "docker.bbitcn.net/bbit_f10/trace" $IMAGE = "docker.bbitcn.net/bbit_f10/trace"
+8 -1
View File
@@ -1,5 +1,6 @@
package com.bbitcn package com.bbitcn
import io.ktor.http.ContentType
import io.ktor.http.HttpStatusCode import io.ktor.http.HttpStatusCode
import io.ktor.server.application.Application import io.ktor.server.application.Application
import io.ktor.server.application.ApplicationCall import io.ktor.server.application.ApplicationCall
@@ -31,7 +32,13 @@ fun Application.configureRouting() {
routing { routing {
get("/") { get("/") {
call.respondText("traceability public server ok") call.respondText("Traceability public server ok")
}
get("/c6geycTEwY.txt") {
call.respondText(
text = "98a93fe1a6b33cbcea89e0bf66043515",
contentType = ContentType.Text.Plain
)
} }
get("/health") { get("/health") {
+2 -2
View File
@@ -63,7 +63,7 @@ class TraceabilityService(
return PublicSectionView( return PublicSectionView(
id = step.id, id = step.id,
name = step.name, name = step.name,
description = step.description.ifBlank { "公开展示资料" }, description = step.description,
entries = toDisplayEntries(step), entries = toDisplayEntries(step),
) )
} }
@@ -72,7 +72,7 @@ class TraceabilityService(
return TimelineSectionView( return TimelineSectionView(
id = step.id, id = step.id,
name = step.name, name = step.name,
description = step.description.ifBlank { "流程记录" }, description = step.description,
status = step.status, status = step.status,
completedAt = formatDateOnly(step.completedAt), completedAt = formatDateOnly(step.completedAt),
entries = toDisplayEntries(step), entries = toDisplayEntries(step),