|
@@ -8,14 +8,21 @@
|
|
|
|
|
|
namespace app\index\controller;
|
|
|
|
|
|
+use app\common\library\send_message;
|
|
|
use app\common\library\UUIDs;
|
|
|
use think\Controller;
|
|
|
use think\Db;
|
|
|
class Index extends Controller
|
|
|
{
|
|
|
public function index(){
|
|
|
- // echo "index";
|
|
|
- return $this->redirect('http://work.pacsonline.cn',302);
|
|
|
+ $phone = '13763459789';
|
|
|
+ $code = '1234';
|
|
|
+ $id = '2345678iuytrgbn';
|
|
|
+ $data = send_message::sendSms2Patient($phone,$code,$id);
|
|
|
+ $info = json_decode(json_encode($data),true);
|
|
|
+ var_dump($info);die;
|
|
|
+ echo "index";
|
|
|
+// return $this->redirect('http://work.pacsonline.cn',302);
|
|
|
}
|
|
|
public function get_studiesinfo(){
|
|
|
$study_id = $_REQUEST['study_id'];
|