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
dc5d0177
Commit
dc5d0177
authored
Aug 15, 2019
by
Junling Bu
Browse files
chore: #253
parent
b8dde207
Changes
4
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/views/user/address.vue
View file @
dc5d0177
...
...
@@ -86,7 +86,7 @@ export default {
handleDownload
()
{
this
.
downloadLoading
=
true
import
(
'
@/vendor/Export2Excel
'
).
then
(
excel
=>
{
const
tHeader
=
[
'
地址ID
'
,
'
用户ID
'
,
'
收
获
人
'
,
'
手机号
'
,
'
省
'
,
'
市
'
,
'
区
'
,
'
地址
'
,
'
是否默认
'
]
const
tHeader
=
[
'
地址ID
'
,
'
用户ID
'
,
'
收
货
人
'
,
'
手机号
'
,
'
省
'
,
'
市
'
,
'
区
'
,
'
地址
'
,
'
是否默认
'
]
const
filterVal
=
[
'
id
'
,
'
userId
'
,
'
name
'
,
'
tel
'
,
'
province
'
,
'
city
'
,
'
county
'
,
'
addressDetail
'
,
'
isDefault
'
]
excel
.
export_json_to_excel2
(
tHeader
,
this
.
list
,
filterVal
,
'
用户地址信息
'
)
this
.
downloadLoading
=
false
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/util/OrderUtil.java
View file @
dc5d0177
...
...
@@ -11,7 +11,7 @@ import java.util.List;
* 101 订单生成,未支付;102,下单未支付用户取消;103,下单未支付超期系统自动取消
* 201 支付完成,商家未发货;202,订单生产,已付款未发货,用户申请退款;203,管理员执行退款操作,确认退款成功;
* 301 商家发货,用户未确认;
* 401 用户确认收货,订单结束; 402 用户没有确认收货,但是快递反馈已收
获
后,超过一定时间,系统自动确认收货,订单结束。
* 401 用户确认收货,订单结束; 402 用户没有确认收货,但是快递反馈已收
货
后,超过一定时间,系统自动确认收货,订单结束。
*
* 当101用户未付款时,此时用户可以进行的操作是取消或者付款
* 当201支付完成而商家未发货时,此时用户可以退款
...
...
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxAddressController.java
View file @
dc5d0177
...
...
@@ -134,7 +134,7 @@ public class WxAddressController extends GetRegionService {
}
if
(
address
.
getIsDefault
())
{
// 重置其他收
获
地址的默认选项
// 重置其他收
货
地址的默认选项
addressService
.
resetDefault
(
userId
);
}
...
...
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxCartController.java
View file @
dc5d0177
...
...
@@ -395,7 +395,7 @@ public class WxCartController {
LitemallAddress
checkedAddress
=
null
;
if
(
addressId
==
null
||
addressId
.
equals
(
0
))
{
checkedAddress
=
addressService
.
findDefault
(
userId
);
// 如果仍然没有地址,则是没有收
获
地址
// 如果仍然没有地址,则是没有收
货
地址
// 返回一个空的地址id=0,这样前端则会提醒添加地址
if
(
checkedAddress
==
null
)
{
checkedAddress
=
new
LitemallAddress
();
...
...
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