wang jun 2 vuotta sitten
vanhempi
commit
e37dd34883

+ 1 - 1
application/app/logic/appointmentlogic.php

@@ -27,7 +27,7 @@ class appointmentlogic extends baselogic
             ],
             'finishedbyaid' => [
                 ['name' => 'appointment_id', 'title' => '申请id', 'require' => true, 'type' => 'numeric'],
-                ['name' => 'testtubeno', 'title' => '测试管号', 'require' => true, 'type' => 'numeric'],
+                ['name' => 'testtubeno', 'title' => '测试管号', 'require' => true],
                 ['name' => 'testtype', 'title' => '测试类型', 'require' => true, 'type' => 'numeric'],
                 ['name' => 'token', 'title' => 'token', 'require' => true, 'type' => 'string'],
             ],

+ 3 - 1
application/app/logic/baselogic.php

@@ -83,9 +83,11 @@ class baselogic
                 }
                 return backarr(1, 'success', $param);
             } catch (\Exception $e) {
+                //var_dump($e->getTraceAsString());
                 $msg = $e->getMessage();
+                //var_dump($msg);exit;
                 Log::error($msg);
-                return backarr(0, "请求错误");
+                return backarr(0, "请求错误:" . $msg);
             }
         }
         return backarr(1, 'success', $param);

+ 2 - 1
application/app/logic/webuserlogic.php

@@ -130,7 +130,8 @@ class webuserlogic extends baselogic
     private function sendsmscode($telno, $code)
     {
         $appdid = "1400598579";
-        $templateId = "1218744";
+        //$templateId = "1218744";
+        $templateId = "1493466";
         $SignName = '水猫工匠';
         $array = array(
             "PhoneNumberSet" => [$telno],