去掉默认备注信息;支付微信小程序官方审核服务所有权;发布新包
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$VERSION = "1.0"
|
||||
$VERSION = "1.1"
|
||||
|
||||
$IMAGE = "docker.bbitcn.net/bbit_f10/trace"
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.bbitcn
|
||||
|
||||
import io.ktor.http.ContentType
|
||||
import io.ktor.http.HttpStatusCode
|
||||
import io.ktor.server.application.Application
|
||||
import io.ktor.server.application.ApplicationCall
|
||||
@@ -31,7 +32,13 @@ fun Application.configureRouting() {
|
||||
|
||||
routing {
|
||||
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") {
|
||||
|
||||
@@ -63,7 +63,7 @@ class TraceabilityService(
|
||||
return PublicSectionView(
|
||||
id = step.id,
|
||||
name = step.name,
|
||||
description = step.description.ifBlank { "公开展示资料" },
|
||||
description = step.description,
|
||||
entries = toDisplayEntries(step),
|
||||
)
|
||||
}
|
||||
@@ -72,7 +72,7 @@ class TraceabilityService(
|
||||
return TimelineSectionView(
|
||||
id = step.id,
|
||||
name = step.name,
|
||||
description = step.description.ifBlank { "流程记录" },
|
||||
description = step.description,
|
||||
status = step.status,
|
||||
completedAt = formatDateOnly(step.completedAt),
|
||||
entries = toDisplayEntries(step),
|
||||
|
||||
Reference in New Issue
Block a user