import { Prefix , Get } from "egg-shell-decorators" ; import BaseController from "./base" ; @ Prefix ( "project" ) export default class ProjectController extends BaseController { author : Cookie
     *  description @ Get ( "/getList" ) public async getProjectList ( { request : { query } } ) { const { ctx } = this ; const { access_token } = this . user ; const { id : userId } = this . userInfo ; const { pageSize , pageNum } = query ; const projectList = await ctx . service . project . getProjectList ( { pageSize , pageNum , access_token , userId } ) ; this . success ( projectList ) ; } author : Cookie
     *  description @ Get ( "/get" ) public async getProject ( { request : { query } } ) { const { ctx } = this ; const { projectId } = query ; const { access_token } = this . user ; const project = await ctx . service . project . getProject ( { projectId , access_token } ) ; this . success ( project ) ; } }