完成支付功能
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import websocket from "@/websocket";
|
||||
|
||||
export const formatTimestamp = (timestamp) => {
|
||||
const date = new Date(timestamp);
|
||||
const date = new Date(timestamp * 1000);
|
||||
const year = date.getFullYear();
|
||||
const month = date.getMonth() + 1;
|
||||
const day = date.getDate();
|
||||
|
||||
return `${year}.${month}.${day}`;
|
||||
return `${year}年${month}月${day}号`;
|
||||
};
|
||||
|
||||
export const checkConnection = () => {
|
||||
|
||||
Reference in New Issue
Block a user