Commit 1ec3a8ac authored by zw's avatar zw

bug

parent 9aa48e68
...@@ -972,7 +972,7 @@ class OrderLogService ...@@ -972,7 +972,7 @@ class OrderLogService
//客户c端提交预约看铺 //客户c端提交预约看铺
$field_appoint = "a.id,a.create_time,b.user_name as name"; $field_appoint = "a.id,a.create_time,b.user_name as name";
$appointData = $appointWatchShopModel->getAppointWatchOur(1,15,"id desc",$field_appoint,["a.user_id"=>$user_id]); $appointData = $appointWatchShopModel->getAppointWatchOur(1,15,"a.id desc",$field_appoint,["a.user_id"=>$user_id]);
if (count($appointData) > 0) { if (count($appointData) > 0) {
foreach ($appointData as $k => $v) { foreach ($appointData as $k => $v) {
$v["step_name"] = "appoint"; $v["step_name"] = "appoint";
......
...@@ -169,7 +169,7 @@ class AppointWatchShop extends BaseModel ...@@ -169,7 +169,7 @@ class AppointWatchShop extends BaseModel
* @throws \think\db\exception\ModelNotFoundException * @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException * @throws \think\exception\DbException
*/ */
public function getAppointWatchOur($pageNo = 1, $pageSize = 15, $order_ = 'id desc', $field, $params) public function getAppointWatchOur($pageNo = 1, $pageSize = 15, $order_ = 'a.id desc', $field, $params)
{ {
return $this return $this
->field($field) ->field($field)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment