import { Application } from "egg" ; import { EggShell } from "egg-shell-decorators" ; export default ( app ) => { const { router , controller , io } = app ; EggShell ( app ) ; io . of ( '/' ) . route ( 'io/server' , io . controller . nsp . ping ) ; io . of ( '/' ) . route ( 'creatJob' , io . controller . nsp . creatJob ) ; } ;