admin
2021-02-04 e8e342cd6c1334f1b8f71d24baa3157637a9ac43
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.yeshi.buwan.util.vip;
 
public class VIPOrderUtil {
 
    /**
     * 获取第三方订单号
     *
     * @param id
     * @return
     */
    public static String getOutOrderNo(String id) {
        return "buwan_vip_" + id;
    }
 
 
    public static String getIdFromOutOrderNo(String orderNo) {
        return orderNo.replace("buwan_vip_", "");
    }
 
}