dever 3 年之前
父节点
当前提交
0f2add13bb
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      service/option/lib/Agreement.php

+ 4 - 1
service/option/lib/Agreement.php

@@ -38,7 +38,10 @@ class Agreement
 
         if ($status == 1) {
             $info = Dever::db('option/account')->find($id);
-            $info += Dever::db('option/member')->find($info[['mid']]);
+            $member = Dever::db('option/member')->find($info[['mid']]);
+            $info['name'] = $member['name'];
+            $info['mobile'] = $member['mobile'];
+            $info['idcard'] = $member['idcard'];
             $info['aid'] = $id;
             $info['create_state'] = 2;
         } elseif ($status == 2) {