feifei 优化 订单编号
This commit is contained in:
@@ -343,7 +343,12 @@ function isLocalClaimUrl(value: unknown) {
|
||||
return !/^https?:\/\//i.test(url) || url.includes('/#/claim/')
|
||||
}
|
||||
|
||||
function buildFeifeiPlatformOrderNo(task: TaskRow) {
|
||||
export function buildFeifeiPlatformOrderNo(task: TaskRow) {
|
||||
const platformOrderId = String(task.platform_order_id || '').trim()
|
||||
if (platformOrderId && platformOrderId.length <= 64) {
|
||||
return platformOrderId
|
||||
}
|
||||
|
||||
const taskNo = String(task.task_no || '').trim()
|
||||
if (taskNo && taskNo.length <= 64) {
|
||||
return taskNo
|
||||
|
||||
Reference in New Issue
Block a user