parent
0fb853a1bd
commit
5bc344703f
|
|
@ -1,9 +1,9 @@
|
|||
import { Api, Get, Query, useContext } from "@midwayjs/hooks";
|
||||
|
||||
import { getSong } from "../utils/netease";
|
||||
import { getSong } from "./utils/netease";
|
||||
|
||||
import { client } from "../utils/redis";
|
||||
import { prisma } from "../utils/prisma";
|
||||
import { client } from "./utils/redis";
|
||||
import { prisma } from "./utils/prisma";
|
||||
import { ACGM, Prisma } from "@prisma/client";
|
||||
|
||||
export default Api(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { Api, Get, Query, useContext } from "@midwayjs/hooks";
|
||||
import fetch from "isomorphic-unfetch";
|
||||
|
||||
import { client } from "../utils/redis";
|
||||
import { client } from "./utils/redis";
|
||||
|
||||
export default Api(
|
||||
Get(),
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { Api, Get, Query, useContext } from '@midwayjs/hooks';
|
||||
|
||||
import { getSong } from "../utils/netease";
|
||||
import { getSong } from "./utils/netease";
|
||||
|
||||
import { client } from '../utils/redis';
|
||||
import { client } from './utils/redis';
|
||||
|
||||
export default Api(
|
||||
Get(),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { Api, Get } from "@midwayjs/hooks";
|
||||
|
||||
import { client } from "../utils/redis";
|
||||
import { client } from "./utils/redis";
|
||||
|
||||
export default Api(
|
||||
Get(),
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { Api, Get, Query, useContext } from "@midwayjs/hooks";
|
||||
|
||||
import { source } from "../data/wallpaper";
|
||||
import { source } from "./data/wallpaper";
|
||||
import { random } from "lodash";
|
||||
import { client } from "../utils/redis";
|
||||
import { client } from "./utils/redis";
|
||||
|
||||
export default Api(
|
||||
Get(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue