@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * 生成签名验证串sign |
58 | - * @param array $params post或get请求的请求参数数组 |
|
58 | + * @param string $params post或get请求的请求参数数组 |
|
59 | 59 | * @return string sign签名验证串 |
60 | 60 | */ |
61 | 61 | public function createSign($params) |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | |
69 | 69 | /** |
70 | 70 | * Lists all Order models. |
71 | - * @return mixed |
|
71 | + * @return string |
|
72 | 72 | */ |
73 | 73 | public function actionIndex() |
74 | 74 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | /** |
87 | 87 | * Displays a single Order model. |
88 | 88 | * @param integer $id |
89 | - * @return mixed |
|
89 | + * @return string |
|
90 | 90 | */ |
91 | 91 | public function actionView($id) |
92 | 92 | { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * Deletes an existing Order model. |
100 | 100 | * If deletion is successful, the browser will be redirected to the 'index' page. |
101 | 101 | * @param integer $id |
102 | - * @return mixed |
|
102 | + * @return \yii\web\Response |
|
103 | 103 | */ |
104 | 104 | public function actionDelete($id) |
105 | 105 | { |
@@ -98,7 +98,7 @@ |
||
98 | 98 | |
99 | 99 | /** |
100 | 100 | * 订单状态列表 |
101 | - * @return array |
|
101 | + * @return string[] |
|
102 | 102 | */ |
103 | 103 | public static function getStatusList() |
104 | 104 | { |
@@ -52,9 +52,9 @@ |
||
52 | 52 | public function rules() |
53 | 53 | { |
54 | 54 | return [ |
55 | - [['id', 'game_id', 'type','user_id','hours', 'status', 'created_at', 'updated_at', 'payment_method'], 'integer'], |
|
56 | - [['sn', 'serverinfo', 'account', 'password', 'remark', 'client_id', 'name', 'description'], 'safe'], |
|
57 | - [['count', 'final_price'], 'number'], |
|
55 | + [['id', 'game_id', 'type','user_id','hours', 'status', 'created_at', 'updated_at', 'payment_method'], 'integer'], |
|
56 | + [['sn', 'serverinfo', 'account', 'password', 'remark', 'client_id', 'name', 'description'], 'safe'], |
|
57 | + [['count', 'final_price'], 'number'], |
|
58 | 58 | ]; |
59 | 59 | } |
60 | 60 |