自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 山东大学软件工程应用与实践-cmswing-第十三周

2021SC@SDUSC

2021-11-30 00:38:06 624

原创 山东大学软件工程应用与实践-cmswing-第十二周

2021SC@SDUSC

2021-11-29 21:24:56 104

原创 山东大学软件工程应用与实践-cmswing-第十一周

2021SC@SDUSC 本周我们来分析center文件夹下的cart.js的前半部分,主部分主要负责管理用户的购物车: 1. indexAction() { // auto render template file index_index.html this.meta_title = '购物车';// 标题1 this.keywords = this.config('setup.WEB_SITE_KEYWORD') ? this.config('setup.WEB_S.

2021-11-28 17:58:06 237

原创 山东大学软件工程应用与实践-cmswing-第十周

2021SC@SDUSC seting async indexAction() { this.tactive = 'user'; await this.weblogin(); const userInfo = await this.model('member').find(this.user.uid); console.log(userInfo); // console.log(userInfo); this.assign('userInfo', u

2021-11-27 16:49:16 273

原创 山东大学软件工程应用与实践-cmswing-第九周

2021SC@SDUSC async indexAction() { this.tactive = 'user'; const data = await this.model('address').where({user_id: this.user.uid}).page(this.get('page')).order('is_default DESC,id DESC').countSelect(); const html = this.pagination(data);

2021-11-26 20:02:16 537

原创 山东大学软件工程应用与实践-cmswing-第八周

2021SC@SDUSC 本周开始我们来分析controller下的center文件夹,它包含了cmswing的用户注册、支付、资金管理等多项重要功能。

2021-11-25 21:39:04 153

原创 山东大学软件工程应用与实践-cmswing-第七周

2021SC@SDUSC modindexbase 1. async __before() { await super.__before();// 继承父类before const getCategory = this.get('category') ? this.get('category').split('-')[0].slice(1) : false; if (this.get('category') || this.get('cid')) { //

2021-11-21 22:25:29 206

原创 山东大学软件工程应用与实践-cmswing-第六周

2021SC@SDUSC async __before() { await super.__before();// 继承父类before const getCategory = this.get('category') ? this.get('category').split('-')[0].slice(1) : false; if (this.get('category') || this.get('cid')) { // 获取当前模型栏目id th

2021-11-19 21:22:52 289

原创 山东大学软件工程应用与实践-cmswing-第五周

2021SC@SDUSC 本周我们来看cmswing文件夹下最后两个核心文件: 1. async __before() { await super.__before();// 继承父类before if (this.get('cate_id')) { // 获取当前模型栏目id this.m_cate = await this.category(this.get('cate_id')); if (think.isEmpty(this.m_cat

2021-11-19 21:19:21 292

原创 山东大学软件工程应用与实践-cmswing-第四周

2021SC@SDUSC

2021-11-17 21:13:33 947

原创 山东大学软件工程应用与实践-cmswing-第三周

2021SC@SDUSC

2021-11-17 17:26:25 320

原创 山东大学软件工程应用与实践-cmswing-第二周

2021SC@SDUSC 本周我们继续来看cmswing文件夹: 一、admin分类分组 首先是admin文件的剩下部分,主要涉及了分类分组。 1.

2021-11-16 17:42:47 208

原创 山东大学软件工程应用与实践-cmswing-第一周

2021SC@SDUSC 首先我们将用几周的时间解读controller中cmswing文件夹中的代码: 本周先看admin文件中关于后台管理员登陆与数据条目管理的部分。 一、关于登陆 首先要登陆验证是管理员账号在登陆后台: const is_login = await this.islogin(); if (!is_login) { return this.redirect('/admin/public/signin'); } 登陆成功后弹出后台菜单并验.

2021-11-15 19:46:33 256

原创 山东大学软件工程应用与实践-cmswing-第零周

2021SC@SDUSC 本周我们先来搞定cmswing的下载与配置。 先附上cmswing的下载地址: github地址:GitHub - arterli/CmsWing: 一款基于ThinkJS(Node.js MVC)和MySQL的功能强大的(PC端,手机端和微信公众平台)电子商务平台及CMS建站系统 码云地址:CmsWing: 一款基于ThinkJS(Node.js MVC)和MySQL的功能强大的(PC端,手机端和微信公众平台)电子商务平台及CMS建站系统​​​​​​ ...

2021-09-27 16:34:58 166

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除