@@ -4,7 +4,6 @@ |
||
| 4 | 4 | use graychen\yii2\jd\deposit\filters\JdSignAuth; |
| 5 | 5 | use yii\filters\VerbFilter; |
| 6 | 6 | use yii\filters\RateLimiter; |
| 7 | -use yii\base\Action; |
|
| 8 | 7 | |
| 9 | 8 | class JdVerifyAction extends action |
| 10 | 9 | { |
@@ -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 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace graychen\yii2\jd\deposit\models; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | 5 | use yii\base\Model; |
| 7 | 6 | use yii\behaviors\TimestampBehavior; |
| 8 | 7 | use yii\web\ConflictHttpException; |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace graychen\yii2\jd\deposit\models; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | 5 | use yii\base\Model; |
| 7 | 6 | use yii\data\ActiveDataProvider; |
| 8 | 7 | use graychen\yii2\jd\deposit\models\Order; |