linwu hace 1 año
padre
commit
05302082b1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/worker/controller/Demand.php

+ 1 - 1
app/worker/controller/Demand.php

@@ -215,7 +215,7 @@ class Demand extends BaseController
             $param         = ParamModel::where(1)->findOrEmpty();
             $access_worker = Session::get('access_worker');
 
-            $is_released = 1;
+            $is_released = ['code' => 0];
             if ($access_worker['status'] == 1) {
                 $is_released = is_released($access_worker['id']);
             }