fix(dev): redirect 形态落地自包含 mock-cashier 页(返回可用),替代 /result 的 404 死路
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013nMthbVEmQquxBRKb9Fj8u
This commit is contained in:
@@ -76,7 +76,7 @@ func (p *Provider) Create(_ context.Context, req provider.CreateRequest) (*provi
|
||||
ProviderRef: ref,
|
||||
RenderType: provider.RenderRedirect,
|
||||
Payload: map[string]any{
|
||||
"url": "http://localhost:8090/result?out_trade_no=" + req.OutTradeNo,
|
||||
"url": "http://localhost:8090/mock-cashier?out_trade_no=" + req.OutTradeNo,
|
||||
},
|
||||
ExpiresAt: &exp,
|
||||
}, nil
|
||||
|
||||
Reference in New Issue
Block a user