切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
465a2a89f9f7f3c9205bac2de3657c9ca4971803
1 个父辈
cfb7cc85
1 个管道 的构建
通过
耗费 1 秒
1
变更
3
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
5 行增加
和
5 行删除
app/portal/controller/OrderpageController.php
public/themes/simpleboot3/portal/order/get_all.html
simplewind/cmf/controller/WeChatBaseController.php
app/portal/controller/OrderpageController.php
查看文件 @
465a2a8
...
...
@@ -199,9 +199,9 @@ class OrderpageController extends WeChatBaseController{
$indent_id
=
$this
->
request
->
param
();
$data
=
Db
::
name
(
'indent'
)
->
where
(
'id'
,
$indent_id
[
'id'
])
->
find
();
$money_ratio
=
Db
::
name
(
'money_ratio'
)
->
where
(
'id'
,
1
)
->
find
();
if
(
$data
[
'indent_type'
]
==
2
&&
$data
[
'is_courier'
]
==
2
){
/*
if($data['indent_type'] == 2 && $data['is_courier'] == 2){
Db::name('indent') -> where('id',$indent_id['id']) -> setDec('money',$money_ratio['courier']);
}
}
*/
$this
->
redirect
(
'index/index'
);
}
...
...
public/themes/simpleboot3/portal/order/get_all.html
查看文件 @
465a2a8
...
...
@@ -327,11 +327,11 @@
<!--<div class="myorder_bottom2_2">查看订单</div>-->
<!--</a>-->
<elseif
condition=
"$vo.state eq 5"
/>
<if
condition=
"$vo.is_courier eq 2"
>
<a
href=
"{:url('logistics/index',array('indent_id'=>$vo['id']))}"
>
<div
class=
"myorder_bottom2_2"
>
查看物流
</div>
</a>
</if>
<div
class=
"myorder_bottom2_2 delivery"
data-id=
"{$vo.id}"
>
确认收货
</div>
<elseif
condition=
"$vo.state eq 3"
/>
<!--<div class="myorder_bottom2_2">去评价</div>-->
...
...
simplewind/cmf/controller/WeChatBaseController.php
查看文件 @
465a2a8
...
...
@@ -204,7 +204,7 @@ class WeChatBaseController extends BaseController
*/
public
function
checkWeChatUserLogin
()
{
/*$user = Db::name('user')->where('id',
13
)->find();
/*$user = Db::name('user')->where('id',
9
)->find();
cmf_update_current_user($user);*/
$userId
=
cmf_get_current_user_id
();
if
(
empty
(
$userId
))
{
...
...
请
注册
或
登录
后发表评论