wupengfei 1 年間 前
コミット
b255863167

+ 1 - 1
.idea/workspace.xml

@@ -328,7 +328,7 @@
       <workItem from="1684543423796" duration="10653000" />
       <workItem from="1684716593546" duration="15730000" />
       <workItem from="1684743465298" duration="6526000" />
-      <workItem from="1684802887863" duration="11299000" />
+      <workItem from="1684802887863" duration="11406000" />
     </task>
     <servers />
   </component>

+ 3 - 4
application/synth/controller/BillApply.php

@@ -138,17 +138,16 @@ class BillApply extends Controller
             $vo['express_company_title'] = $express['express_title'];
             $vo['express_send_at'] = empty($order['express_send_at']) ? date('Y-m-d H:i:s') : $order['express_send_at'];
             $vo['express_state'] = '1';
+            $vo['bill_time'] = date("Y-m-d H:i:s");
         }
     }
 
     public function billImageSave()
     {
-        if($this->request->isPost())
-        {
+        if($this->request->isPost()) {
             $id  = input('post.id');
             $bill_img  = input('post.bill_img');
-            var_dump($id,$bill_img);
-            \app\common\model\BillApply::where('id',$id)->update(['bill_img'=>$bill_img]);
+            \app\common\model\BillApply::where('id',$id)->update(['bill_img'=>$bill_img,'bill_time'=>date("Y-m-d H:i:s")]);
             $this->success('保存成功');
         }
     }

+ 0 - 1
application/synth/view/bill_apply/form.html

@@ -128,7 +128,6 @@
                         }
                     });
 
-
                 }
                 layer.msg(res.msg);
             }