diff --git a/app/api/controller/Gh.php b/app/api/controller/Gh.php index 8a539f7f..7f9d79ab 100644 --- a/app/api/controller/Gh.php +++ b/app/api/controller/Gh.php @@ -220,11 +220,11 @@ class Gh extends Api ->find(); } if($type == 1){ - $messsage = Db::name("abutment_log") + $abutment = Db::name("abutment_log") ->where("order_id",$id) ->where("state",1) ->find(); - $alog_id = $messsage['alog_id']; + $alog_id = $abutment['alog_id']; Db::name("order") ->where("id",$id) ->where("order_status",3)