|
|
@@ -155,7 +155,7 @@ class Contract extends BaseController
|
|
|
[$id] = UtilService::getMore([
|
|
|
['id','']
|
|
|
],$request,true);
|
|
|
- $adminInfo = UserContractRecordModel::get(compact('id'));
|
|
|
+ $adminInfo = UserContractRecordModel::where("id",$id)->find()->toArray();
|
|
|
return app('json')->success([
|
|
|
'id' => $id,
|
|
|
'contract_no' =>$adminInfo['contract_no'],
|