切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
659a56e4a3936245350f735609290442abab0915
1 个父辈
1f831fe8
4
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
10 行增加
和
1 行删除
app/admin/controller/PlatformordersController.php
public/themes/admin_simpleboot3/admin/platformorders/plat_view.html
app/admin/controller/PlatformordersController.php
查看文件 @
659a56e
...
...
@@ -47,6 +47,15 @@ class PlatformordersController extends AdminBaseController{
$data_in
=
Db
::
name
(
'indent'
)
->
where
(
'id'
,
$indent_id
)
->
find
();
$this
->
assign
(
'data_goods'
,
$data_goods
);
$this
->
assign
(
'data_in'
,
$data_in
);
//地址查询
$address
=
Db
::
name
(
'address'
)
->
where
(
"id"
,
$data_in
[
'indent_address'
])
->
find
();
if
(
!
empty
(
$address
)){
$address
[
'detailed'
]
=
explode
(
','
,
$address
[
'detailed'
]);
$this
->
assign
(
'address'
,
$address
);
}
else
{
$this
->
assign
(
'address'
,
null
);
}
return
$this
->
fetch
();
}
...
...
public/themes/admin_simpleboot3/admin/platformorders/plat_view.html
查看文件 @
659a56e
...
...
@@ -18,7 +18,7 @@
<h4>
姓名:{$data_in.name}
</h4>
<h4>
手机号:{$data_in.phone}
</h4>
<h4>
买家留言:{$data_in.leave_word}
</h4>
<h4>
收货地址:{$
data_in.indent_address
}
</h4>
<h4>
收货地址:{$
address.region}{$address.detailed[0]}{$address.detailed[1]
}
</h4>
</div>
</div>
</body>
...
...
请
注册
或
登录
后发表评论