11 lines
429 B
TypeScript
11 lines
429 B
TypeScript
import {RedisClientType, createClient} from "redis";
|
|
import {redisClient} from "./setRedis";
|
|
import {ConnectionStatus, WsServer} from "tsrpc";
|
|
import cluster from 'cluster';
|
|
import { PayFun } from "./public/pay";
|
|
|
|
export class clusterFun {
|
|
static async pay(){
|
|
await PayFun.pay(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]);//(call.req.uid, call.req.payId, call.req.payArgs, call.req.type);
|
|
}
|
|
} |