wupengfei vor 1 Jahr
Ursprung
Commit
2903632f3b
2 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 2 2
      .idea/workspace.xml
  2. 2 1
      application/synth/controller/BillApply.php

+ 2 - 2
.idea/workspace.xml

@@ -3,7 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/synth/view/bill_apply/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/synth/view/bill_apply/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/synth/controller/BillApply.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/synth/controller/BillApply.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -327,7 +327,7 @@
       <workItem from="1684543423796" duration="10653000" />
       <workItem from="1684716593546" duration="15730000" />
       <workItem from="1684743465298" duration="6526000" />
-      <workItem from="1684802887863" duration="13204000" />
+      <workItem from="1684802887863" duration="13253000" />
     </task>
     <servers />
   </component>

+ 2 - 1
application/synth/controller/BillApply.php

@@ -139,6 +139,7 @@ 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['status'] = '1';
             $vo['bill_time'] = date("Y-m-d H:i:s");
             $info = \app\common\model\BillApply::where('b.id', $vo['id'])->alias('b')->field('b.user_id,y.act_id')
                 ->leftJoin('ActivityApply y','y.id = b.order_id')->find()->toArray();
@@ -151,7 +152,7 @@ class BillApply extends Controller
         if($this->request->isPost()) {
             $id  = input('post.id');
             $bill_img  = input('post.bill_img');
-            \app\common\model\BillApply::where('id',$id)->update(['bill_img'=>$bill_img,'bill_time'=>date("Y-m-d H:i:s")]);
+            \app\common\model\BillApply::where('id',$id)->update(['bill_img'=>$bill_img,'bill_time'=>date("Y-m-d H:i:s"),'status'=>1]);
             $info = \app\common\model\BillApply::where('b.id',$id)->alias('b')->field('b.user_id,y.act_id')
                 ->leftJoin('ActivityApply y','y.id = b.order_id')->find()->toArray();
             UserMessage::sendUserMessage($info['user_id'],'activity',5,0,0,$info['act_id'],'',$id);