feat-IRONFANS-32-20240125-Robin #79

Merged
chenhao merged 6 commits from feat-IRONFANS-32-20240125-Robin into test 2024-01-25 09:01:57 +08:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 6a0f2cdde2 - Show all commits

View File

@ -948,7 +948,13 @@ func (s *Service) GetCoinsProductList(ctx *gin.Context, req *vasproto.GetCoinsPr
}
func (s *Service) CreateOrder(ctx *gin.Context, req *vasproto.CreateOrderReq) (data *vasproto.CreateOrderData, ec errcode.ErrCode) {
req.ReturnUrl = "https://tiefen.fun/pay"
switch req.ProductId {
case dbstruct.ProductIdMembership:
req.ReturnUrl = "https://tiefen.fun/vip"
default:
req.ReturnUrl = "https://tiefen.fun/pay"
}
data, err := _DefaultVas.CreateOrder(ctx, req)
ec, err = errs.DealVasErr(err)
if err != nil {

View File

@ -138,6 +138,7 @@ CREATE TABLE `vas_withdraw_order`
CREATE INDEX ix_mid_applytime ON vas_withdraw_order (mid, apply_time);
CREATE TABLE `vas_withdraw_diamonds_his`
(
`id` bigint AUTO_INCREMENT COMMENT 'id',