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_", "");
| }
|
| }
|
|