flyfox11 / venture-management Goto Github PK
View Code? Open in Web Editor NEW一个包含vuejs和nodejs技术的全栈项目
Home Page: https://github.com/xunqianxue/venture-management
一个包含vuejs和nodejs技术的全栈项目
Home Page: https://github.com/xunqianxue/venture-management
D:\WorkSpeaceGit\github\venture-management\server\controllers\user\index.js:10
init: async function (req, res) {
^^^^^^^^
SyntaxError: Unexpected token function
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (D:\WorkSpeaceGit\github\venture-management\server\routes\user\index.js:1:81)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
大兄弟,我想学习一下,能不能看看sql的表结构啊
没数据库结构,跑不起来啊
aadf
我看您在后端接收到请求的时候派发给前端一个token,但是后端并没有进行任何存储,而在下次请求的时候jwt.verify直接读取出来,这是什么原理,从哪里读取出来的?我之前知道可以存储在数据库,session,或者redis中,而您的这种做法相比较有什么优劣势。假如是多用户的网站,给不同的用户下发token,也能这样来不存储token进行处理吗?
您好!我注册的提示control_user这个表不存在,mysql连接是正常的,请问是什么原因呢???
提示代码如下:
提示
ER_NO_SUCH_TABLE: Table 'loan-dev.control_user' doesn't exist
您好,大佬,是这样的,我现在运行起来了,但是没有数据库,她就报错了,不可以登录注册,所以提供一下数据库吗
请提供一下数据表
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.