@@ -42,7 +42,7 @@ return [
'name',
'type',
'key' => [
- 'tips' => '如果为空,将自动按照名称拼音生成',
+ 'tip' => '如果为空,将自动按照名称拼音生成',
],
'desc' => 'textarea',
'status' => [
@@ -1,5 +1,4 @@
<?php
-$platform_id = Dever::input('set')['platform_id'] ?? 0;
$platform = include('platform.php');
$encrypt = [
-1 => '无需加密',
@@ -47,7 +46,9 @@ return [
'键名键值设置' => 'kv_type,kv_sort,kv_value_empty,kv_key_handle,kv_value_handle,kv_join,kv_join_handle',
'field' => [
- 'platform_id' => 'text',
+ 'platform_id' => [
+ 'default' => $platform_id,
+ ],
'name' => [
'desc' => '填写后,以{签名名称}形式调用',
@@ -8,7 +8,7 @@ return [
'price' => [
'type' => 'text',
- 'tips' => '设置价格',
+ 'tip' => '设置价格',
'rules' => true,
'num' => [