mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
commit
83fbfd6581
@ -1,6 +1,3 @@
|
|||||||
import {
|
|
||||||
segment
|
|
||||||
} from "oicq";
|
|
||||||
import fetch from "node-fetch";
|
import fetch from "node-fetch";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import {
|
import {
|
||||||
|
@ -5,9 +5,6 @@ import {
|
|||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import fetch from "node-fetch";
|
import fetch from "node-fetch";
|
||||||
import utils from "../model/mys/utils.js";
|
import utils from "../model/mys/utils.js";
|
||||||
import {
|
|
||||||
segment
|
|
||||||
} from "oicq";
|
|
||||||
let path = './data/map'
|
let path = './data/map'
|
||||||
//mapId-地图别名
|
//mapId-地图别名
|
||||||
let getPath={
|
let getPath={
|
||||||
|
@ -5,7 +5,6 @@ import mys from "../model/mhyTopUpLogin.js"
|
|||||||
import Common from "../components/Common.js";
|
import Common from "../components/Common.js";
|
||||||
import { bindStoken } from './user.js'
|
import { bindStoken } from './user.js'
|
||||||
import utils from '../model/mys/utils.js';
|
import utils from '../model/mys/utils.js';
|
||||||
import { segment } from 'oicq'
|
|
||||||
const _path = process.cwd();
|
const _path = process.cwd();
|
||||||
export const rule = {
|
export const rule = {
|
||||||
qrCodeLogin: {
|
qrCodeLogin: {
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
import User from "../model/user.js"
|
import User from "../model/user.js"
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import {
|
|
||||||
segment
|
|
||||||
} from "oicq";
|
|
||||||
export const rule = {
|
export const rule = {
|
||||||
sign: {
|
sign: {
|
||||||
reg: `^#*(原神|崩坏3|崩坏2|未定事件簿)签到$`,
|
reg: `^#*(原神|崩坏3|崩坏2|未定事件簿)签到$`,
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
import {
|
|
||||||
segment
|
|
||||||
} from "oicq";
|
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import {
|
import {
|
||||||
Cfg
|
Cfg
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { Cfg } from "./index.js";
|
import { Cfg } from "./index.js";
|
||||||
import { segment } from "oicq";
|
|
||||||
import { currentVersion, yunzaiVersion,isV3 } from "./Changelog.js";
|
import { currentVersion, yunzaiVersion,isV3 } from "./Changelog.js";
|
||||||
export const render = async function (path, params, cfg) {
|
export const render = async function (path, params, cfg) {
|
||||||
let paths = path.split("/");
|
let paths = path.split("/");
|
||||||
|
4
index.js
4
index.js
@ -5,6 +5,10 @@ import {
|
|||||||
} from './components/Changelog.js'
|
} from './components/Changelog.js'
|
||||||
import Data from './components/Data.js'
|
import Data from './components/Data.js'
|
||||||
|
|
||||||
|
if (!global.segment) {
|
||||||
|
global.segment = (await import("oicq")).segment
|
||||||
|
}
|
||||||
|
|
||||||
export * from './apps/index.js'
|
export * from './apps/index.js'
|
||||||
let index = {
|
let index = {
|
||||||
atlas: {}
|
atlas: {}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import User from "./user.js";
|
import User from "./user.js";
|
||||||
import utils from './mys/utils.js';
|
import utils from './mys/utils.js';
|
||||||
import { segment } from 'oicq'
|
|
||||||
import Common from "../components/Common.js";
|
import Common from "../components/Common.js";
|
||||||
export default class mysTopLogin {
|
export default class mysTopLogin {
|
||||||
constructor(e) {
|
constructor(e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user