lh пре 6 дана
родитељ
комит
70b120e293

+ 3 - 3
app/Libs/Pays/AliPaySdk/aop/AopCertClient.php

@@ -386,7 +386,7 @@ class AopCertClient
         return $strnull;
     }
 
-    function splitCN($cont, $n = 0, $subnum, $charset) {
+    function splitCN($cont, $n, $subnum, $charset) {
         //$len = strlen($cont) / 3;
         $arrr = array();
         for ($i = $n; $i < strlen($cont); $i += $subnum) {
@@ -399,7 +399,7 @@ class AopCertClient
         return $arrr;
     }
 
-    function subCNchar($str, $start = 0, $length, $charset = "gbk") {
+    function subCNchar($str, $start, $length, $charset = "gbk") {
         if (strlen($str) <= $length) {
             return $str;
         }
@@ -1300,4 +1300,4 @@ class AopCertClient
             echo "<br/>" . $content;
         }
     }
-}
+}

+ 3 - 3
app/Libs/Pays/AliPaySdk/aop/AopClient.php

@@ -900,7 +900,7 @@ class AopClient
         return $strnull;
     }
 
-    function splitCN($cont, $n = 0, $subnum, $charset)
+    function splitCN($cont, $n, $subnum, $charset)
     {
         //$len = strlen($cont) / 3;
         $arrr = array();
@@ -914,7 +914,7 @@ class AopClient
         return $arrr;
     }
 
-    function subCNchar($str, $start = 0, $length, $charset = "gbk")
+    function subCNchar($str, $start, $length, $charset = "gbk")
     {
         if (strlen($str) <= $length) {
             return $str;
@@ -1331,4 +1331,4 @@ class AopClient
     }
 
 
-}
+}

+ 1 - 1
app/Libs/Pays/src/Byte.php

@@ -134,7 +134,7 @@ class Byte implements PayInterface
      * @param string $title 描述
      *
      */
-    public function applyOrderCreate($order_no, $money,$store_uid, $title, $desc = '',$phone_type)
+    public function applyOrderCreate($order_no, $money,$store_uid, $title, $desc,$phone_type)
     {
         $orderParam["out_order_no"] = $order_no;
         $orderParam["total_amount"] = $money;

+ 1 - 1
app/Services/Anime/AnimeService.php

@@ -6531,7 +6531,7 @@ class AnimeService
      * @param int $imageNum 传入的图片张数
      * @return int 图片数量
      */
-    public static function getInnerImageNum($innerPromptType = 0, $imageNum)
+    public static function getInnerImageNum($innerPromptType = 0, $imageNum = 0)
     {
         return (int)$innerPromptType === 2 ? 9 : $imageNum;
     }