切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
b36c5050d9f1f2609359994cf8e158b47dec7878
1 个父辈
710b3ded
1 个管道 的构建
通过
耗费 0 秒
5
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
app/portal/controller/OrderpageController.php
app/portal/controller/PayController.php
app/portal/controller/OrderpageController.php
查看文件 @
b36c505
...
...
@@ -125,12 +125,12 @@ class OrderpageController extends WeChatBaseController{
if
(
empty
(
$address
)){
$this
->
assign
(
'address'
,
4
);
}
else
{
$address_arr
=
explode
(
','
,
$address
[
''
]);
$address_arr
=
explode
(
','
,
$address
[
'
detailed
'
]);
$address
[
'detailed'
]
=
$address_arr
[
0
]
.
$address_arr
[
1
];
$indet_data
=
Db
::
name
(
'indent'
)
->
where
(
"id"
,
$indent_id
[
'indet_id'
])
->
find
();
if
(
$indet_data
[
'state'
]
==
4
){
$indet_data_update
[
'id'
]
=
$indent_id
[
'indet_id'
];
$indet_data_update
[
'indent_address'
]
=
$address
[
'
detaile
d'
];
$indet_data_update
[
'indent_address'
]
=
$address
[
'
i
d'
];
$indet_data_update
[
'name'
]
=
$address
[
'name'
];
$indet_data_update
[
'phone'
]
=
$address
[
'phone'
];
Db
::
name
(
'indent'
)
->
update
(
$indet_data_update
);
...
...
app/portal/controller/PayController.php
查看文件 @
b36c505
...
...
@@ -163,7 +163,7 @@ class PayController extends HomeBaseController
$data_money_income_teacher
[
'uid'
]
=
$data_user
[
'uid'
];
Db
::
name
(
'money_income'
)
->
insert
(
$data_money_income_teacher
);
}
Db
::
name
(
'my_user'
)
->
where
(
'uid'
,
$data_user
[
'uid'
])
->
setInc
(
'balance'
,
$money_
salesman
);
Db
::
name
(
'my_user'
)
->
where
(
'uid'
,
$data_user
[
'uid'
])
->
setInc
(
'balance'
,
$money_
teacher
);
}
}
else
if
(
$order
[
'indent_type'
]
==
2
){
//如果是业务员订单
...
...
请
注册
或
登录
后发表评论