Commit 7477580e by lujunyi

格式化

parent c1513596
...@@ -60,7 +60,7 @@ public function add(Request $request) ...@@ -60,7 +60,7 @@ public function add(Request $request)
if (! validateIdCard($data['id_card'])) { if (! validateIdCard($data['id_card'])) {
return $this->failed('身份证格式错误'); return $this->failed('身份证格式错误');
} }
$idCardInfo = Util::getIdCardInfo($data['id_card']); $idCardInfo = Util::getIdCardInfo($data['id_card']);
$patient->name = $data['name']; $patient->name = $data['name'];
$patient->id_card = $data['id_card']; $patient->id_card = $data['id_card'];
......
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 sign in to comment