Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
8 years ago
Commit
9c0386ccce744a0e8a1307d3257ff6acb73e59db
1 parent
e2b9800e
caml
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
apps/cart/controllers/BuyNowController.js → apps/cart/controllers/buy-now-controller.js
apps/cart/models/BuyNowModel.js → apps/cart/models/buy-now-model.js
apps/cart/router.js
apps/cart/controllers/
BuyNowC
ontroller.js → apps/cart/controllers/
buy-now-c
ontroller.js
View file @
9c0386c
...
...
@@ -2,12 +2,12 @@
* @Author: Targaryen
* @Date: 2017-06-21 10:15:38
* @Last Modified by: Targaryen
* @Last Modified time: 2017-06-23 1
7:53:27
* @Last Modified time: 2017-06-23 1
8:00:52
*/
const
_
=
require
(
'lodash'
);
const
co
=
require
(
'bluebird'
).
coroutine
;
const
headerModel
=
require
(
'../../../doraemon/models/header'
);
const
BuyNowModel
=
require
(
'../models/
BuyNowM
odel'
);
const
BuyNowModel
=
require
(
'../models/
buy-now-m
odel'
);
const
addressModel
=
require
(
'../models/address'
);
const
userModel
=
require
(
'../models/user'
);
const
orderModel
=
require
(
'../models/order'
);
...
...
apps/cart/models/
BuyNowM
odel.js → apps/cart/models/
buy-now-m
odel.js
View file @
9c0386c
apps/cart/router.js
View file @
9c0386c
...
...
@@ -16,7 +16,7 @@ const countController = require(`${cRoot}/count`);
const
payController
=
require
(
`
$
{
cRoot
}
/pay`
)
;
const
indexController
=
require
(
`
$
{
cRoot
}
/index`
)
;
const
ticketsConfirmController
=
require
(
`
$
{
cRoot
}
/ticketsConfirm`
)
;
const
BuyNowController
=
require
(
`
$
{
cRoot
}
/
BuyNowC
ontroller`
)
;
const
BuyNowController
=
require
(
`
$
{
cRoot
}
/
buy-now-c
ontroller`
)
;
// Your controller here
router
.
all
(
'/index/seckill/'
,
authMW
);
...
...
Please
register
or
login
to post a comment