diff --git a/Application/Base/Tool/GameResource/XlqyClient.class.php b/Application/Base/Tool/GameResource/XlqyClient.class.php index 51175e0cf..d3d687fd7 100644 --- a/Application/Base/Tool/GameResource/XlqyClient.class.php +++ b/Application/Base/Tool/GameResource/XlqyClient.class.php @@ -196,14 +196,14 @@ class XlqyClient return $this->getCommonResult($result, 200); } - private function generateOrderNumber($order, $index = 0) + protected function generateOrderNumber($order, $index = 0) { $length = 8 - strlen(strval($order['id'])); $indexLength = 3 - strlen(strval($index)); return date('Ymd') . str_repeat('0', $length) . $order['id'] . str_repeat('0', $indexLength) . $index; } - private function getCommonResult($result, $successCode = 0) + protected function getCommonResult($result, $successCode = 0) { if ($result['code'] == $successCode) { return [