Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
f2999cf2
Commit
f2999cf2
authored
Aug 10, 2018
by
Junling Bu
Browse files
chore: 调整代码结构
parent
1315bc8d
Changes
14
Hide whitespace changes
Inline
Side-by-side
litemall-admin/config/dep.env.js
View file @
f2999cf2
module
.
exports
=
{
NODE_ENV
:
'
"production"
'
,
ENV_CONFIG
:
'
"dep"
'
,
BASE_API
:
'
"http
s
://
www.menethil.com.cn
/admin"
'
BASE_API
:
'
"http://
122.152.206.172:8080
/admin"
'
}
litemall-admin/src/views/groupon/list.vue
View file @
f2999cf2
...
...
@@ -137,12 +137,12 @@
</
style
>
<
script
>
import
{
listGroupon
,
publishGroupon
,
deleteGroupon
,
editGroupon
}
from
'
@/api/groupon
'
import
{
listGroupon
,
publishGroupon
,
deleteGroupon
,
editGroupon
}
from
'
@/api/groupon
'
import
BackToTop
from
'
@/components/BackToTop
'
export
default
{
name
:
'
GoodsList
'
,
components
:
{
BackToTop
},
components
:
{
BackToTop
},
data
()
{
return
{
list
:
[],
...
...
@@ -163,14 +163,14 @@
goodsId
:
''
,
discount
:
''
,
discountMember
:
''
,
expireTime
:
undefined
,
expireTime
:
undefined
},
dialogFormVisible
:
false
,
dialogStatus
:
''
,
textMap
:
{
update
:
'
编辑
'
,
create
:
'
创建
'
}
,
}
}
},
created
()
{
...
...
@@ -207,7 +207,7 @@
goodsId
:
''
,
discount
:
''
,
discountMember
:
''
,
expireTime
:
undefined
,
expireTime
:
undefined
}
},
handleCreate
()
{
...
...
litemall-admin/src/views/groupon/record.vue
View file @
f2999cf2
...
...
@@ -93,12 +93,12 @@
</
style
>
<
script
>
import
{
listRecord
}
from
'
@/api/groupon
'
import
{
listRecord
}
from
'
@/api/groupon
'
import
BackToTop
from
'
@/components/BackToTop
'
export
default
{
name
:
'
GoodsList
'
,
components
:
{
BackToTop
},
components
:
{
BackToTop
},
data
()
{
return
{
list
:
[],
...
...
@@ -113,7 +113,7 @@
},
goodsDetail
:
''
,
detailDialogVisible
:
false
,
downloadLoading
:
false
,
downloadLoading
:
false
}
},
created
()
{
...
...
litemall-all/src/main/resources/application.yml
View file @
f2999cf2
...
...
@@ -5,7 +5,7 @@ spring:
encoding
:
UTF-8
server
:
port
:
808
2
port
:
808
0
logging
:
level
:
...
...
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxAddressController.java
View file @
f2999cf2
...
...
@@ -182,8 +182,12 @@ public class WxAddressController {
if
(
address
==
null
){
return
ResponseUtil
.
badArgument
();
}
Integer
id
=
address
.
getId
();
if
(
id
==
null
){
return
ResponseUtil
.
badArgumentValue
();
}
addressService
.
delete
(
address
.
getId
()
);
addressService
.
delete
(
id
);
return
ResponseUtil
.
ok
();
}
}
\ No newline at end of file
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxHomeController.java
View file @
f2999cf2
...
...
@@ -61,6 +61,7 @@ public class WxHomeController {
* newGoodsList: xxx,
* hotGoodsList: xxx,
* topicList: xxx,
* grouponList: xxx,
* floorGoodsList: xxx
* }
* }
...
...
litemall-wx/config/api.js
View file @
f2999cf2
// 以下是业务服务器API地址
// 本机开发时使用
//
var WxApiRoot = 'http://localhost:8080/wx/';
var
WxApiRoot
=
'
http://localhost:8080/wx/
'
;
// 局域网测试使用
// var WxApiRoot = 'http://192.168.0.101:8080/wx/';
// 云平台部署时使用
// var WxApiRoot = 'http://122.152.206.172:8080/wx/';
// 云平台上线时使用
var
WxApiRoot
=
'
https://www.menethil.com.cn/wx/
'
;
//
var WxApiRoot = 'https://www.menethil.com.cn/wx/';
module
.
exports
=
{
IndexUrl
:
WxApiRoot
+
'
home/index
'
,
//首页数据接口
...
...
litemall-wx/
dist
/capsule/index.js
→
litemall-wx/
lib/zanui-weapp
/capsule/index.js
View file @
f2999cf2
File moved
litemall-wx/
dist
/capsule/index.json
→
litemall-wx/
lib/zanui-weapp
/capsule/index.json
View file @
f2999cf2
File moved
litemall-wx/
dist
/capsule/index.wxml
→
litemall-wx/
lib/zanui-weapp
/capsule/index.wxml
View file @
f2999cf2
File moved
litemall-wx/
dist
/capsule/index.wxss
→
litemall-wx/
lib/zanui-weapp
/capsule/index.wxss
View file @
f2999cf2
File moved
litemall-wx/pages/groupon/myGroupon/myGroupon.json
View file @
f2999cf2
{
"navigationBarTitleText"
:
"我的团购"
,
"usingComponents"
:
{
"zan-capsule"
:
"../../../
dist
/capsule/index"
"zan-capsule"
:
"../../../
lib/zanui-weapp
/capsule/index"
}
}
\ No newline at end of file
litemall-wx/pages/index/index.json
View file @
f2999cf2
...
...
@@ -2,6 +2,6 @@
"navigationBarTitleText"
:
""
,
"usingComponents"
:
{
"zan-capsule"
:
"../../
dist
/capsule/index"
"zan-capsule"
:
"../../
lib/zanui-weapp
/capsule/index"
}
}
\ No newline at end of file
litemall-wx/pages/ucenter/index/index.js
View file @
f2999cf2
...
...
@@ -107,6 +107,11 @@ Page({
});
};
},
aboutUs
:
function
()
{
wx
.
navigateTo
({
url
:
'
/pages/about/about
'
});
},
exitLogin
:
function
()
{
wx
.
showModal
({
title
:
''
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment