Giter Club home page Giter Club logo

egg-cms's Introduction

cms

egg_cms是misty_master 项目的node端服务

  • 视频列表
  • 视频详情
  • 所有分类
  • 一级分类
  • 二级分类
  • 分类筛选视频
  • 获取推荐视频

接口列表

/** -----------视频列表 ------------ */
    router.post('/api/getVodList', controller.vod.getVodList);
    router.get('/api/getVodList', controller.vod.getVodList);

    /** -----------视频详情 ------------ */
    router.post('/api/getVodDetails', controller.vod.getVodDetails);
    router.get('/api/getVodDetails', controller.vod.getVodDetails);

    /** -----------所有分类 ------------ */
    router.post('/api/getAllTypeList', controller.type.getAllTypeList);
    router.get('/api/getAllTypeList', controller.type.getAllTypeList);

    /** -----------获取一级分类 ------------ */
    router.post('/api/getLevel1TypeList', controller.type.getLevel1TypeList);
    router.get('/api/getLevel1TypeList', controller.type.getLevel1TypeList);


    router.post('/api/getLevel2TypeList', controller.type.getLevel2TypeList);
    router.get('/api/getLevel2TypeList', controller.type.getLevel2TypeList);

    /** -----------分类筛选视频 ------------ */
    router.post('/api/getTypeData', controller.vod.getTypeData);
    router.get('/api/getTypeData', controller.vod.getTypeData);

    /** -----------根据分类获取视频 ------------ */
    router.post('/api/getVodListByType', controller.vod.getVodListByType);
    router.get('/api/getVodListByType', controller.vod.getVodListByType);

    /** -----------获取推荐视频 ------------ */
    router.post('/api/getRecommendedVideos', controller.vod.getRecommendedVideos);
    router.get('/api/getRecommendedVideos', controller.vod.getRecommendedVideos);

    router.post('/api/getVideosPlayerList', controller.vod.getFqVideosPlayerList);
    router.get('/api/getVideosPlayerList', controller.vod.getFqVideosPlayerList);

    router.post('/api/getVodPlayVideoSourceFormat', controller.vod.getVodPlayVideoSourceFormat);
    router.get('/api/getVodPlayVideoSourceFormat', controller.vod.getVodPlayVideoSourceFormat);

    router.post('/api/getFqVideosPlayerList', controller.vod.getFqVideosPlayerList);
    router.get('/api/getFqVideosPlayerList', controller.vod.getFqVideosPlayerList);

    router.post('/api/getFqVideosPlayerListByFq', controller.vod.getFqVideosPlayerListByFq);
    router.get('/api/getFqVideosPlayerListByFq', controller.vod.getFqVideosPlayerListByFq);

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

egg-cms's People

Contributors

chillley avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.