浏览代码

sunguidong

zhangguidong 2 年之前
父节点
当前提交
9d1b4747db
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

@@ -50,7 +50,7 @@ class Index extends Api
         $data=['mobile'=>'15588500892','score'=>100];
         $TemplateCode = "SMS_262400702";
         $phoneNumber = $data['mobile'];
-        $TemplateParam = json_encode(['code' => $data['score']]);
+        $TemplateParam = json_encode(['number' => $data['score']]);
         $sendSmsRequest = [
             "TemplateCode" => $TemplateCode,
             "phoneNumber" => $phoneNumber,