|
|
@@ -598,25 +598,25 @@ return [
|
|
|
'GET sync-calc-record/<periodNum>' => 'sync-calc-record',
|
|
|
],
|
|
|
],
|
|
|
- [
|
|
|
- 'class' => 'yii\rest\UrlRule',
|
|
|
- 'pluralize' => false,
|
|
|
- 'controller' => 'v1/currency',
|
|
|
- 'extraPatterns' => [
|
|
|
- 'GET currencies' => 'currencies',
|
|
|
- 'GET currencies-conversions' => 'currencies-conversions',
|
|
|
- 'POST set-currencies-conversions' => 'set-currencies-conversions',
|
|
|
- 'GET transportation' => 'transportation',
|
|
|
- 'POST set-transportation' => 'set-transportation',
|
|
|
- ],
|
|
|
- ],
|
|
|
- [
|
|
|
- 'class' => 'yii\rest\UrlRule',
|
|
|
- 'pluralize' => false,
|
|
|
- 'controller' => 'v1/transportation',
|
|
|
- 'extraPatterns' => [
|
|
|
- 'GET transportation' => 'transportation',
|
|
|
- 'POST set-transportation' => 'set-transportation',
|
|
|
- ],
|
|
|
- ],
|
|
|
+// [
|
|
|
+// 'class' => 'yii\rest\UrlRule',
|
|
|
+// 'pluralize' => false,
|
|
|
+// 'controller' => 'v1/currency',
|
|
|
+// 'extraPatterns' => [
|
|
|
+// 'GET currencies' => 'currencies',
|
|
|
+// 'GET currencies-conversions' => 'currencies-conversions',
|
|
|
+// 'POST set-currencies-conversions' => 'set-currencies-conversions',
|
|
|
+// 'GET transportation' => 'transportation',
|
|
|
+// 'POST set-transportation' => 'set-transportation',
|
|
|
+// ],
|
|
|
+// ],
|
|
|
+// [
|
|
|
+// 'class' => 'yii\rest\UrlRule',
|
|
|
+// 'pluralize' => false,
|
|
|
+// 'controller' => 'v1/transportation',
|
|
|
+// 'extraPatterns' => [
|
|
|
+// 'GET transportation' => 'transportation',
|
|
|
+// 'POST set-transportation' => 'set-transportation',
|
|
|
+// ],
|
|
|
+// ],
|
|
|
];
|