cxhxy/addons/sf/config.php
2024-01-03 14:19:05 +08:00

61 lines
2.7 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
return [
[
'name' => 'api_url',//参数名称
'title' => '请求接口:', //显示标题
'type' => 'text', //表单元素类型 - 文本框
//属性
'attribute' => [
'placeholder' => '',
'maxlength' => '150',//可输入最大长度
'required' => true,//是否必填
'disabled' => false,//是否禁用
],
'msg' => '默认API接口https://openic.sf-express.com',//提示内容
'value' => 'https://openic.sf-express.com',//初始值
],
[
'name' => 'app_key',//参数名称
'title' => '开发者ID', //显示标题
'type' => 'text', //表单元素类型 - 文本框
//属性
'attribute' => [
'placeholder' => '',
'maxlength' => '150',//可输入最大长度
'required' => true,//是否必填
'disabled' => false,//是否禁用
],
'msg' => '我还没有去注册https://commit-openic.sf-express.com',//提示内容
'value' => '',//初始值
],
[
'name' => 'app_secret',//参数名称
'title' => '开发者KEY', //显示标题
'type' => 'text', //表单元素类型 - 文本框
//属性
'attribute' => [
'placeholder' => '',
'maxlength' => '150',//可输入最大长度
'required' => true,//是否必填
'disabled' => false,//是否禁用
],
'msg' => '',//提示内容
'value' => '',//初始值
],
[
'name' => 'pay_mode',//参数名称
'title' => '费用支付:',//显示标题
'type' => 'radio',//表单元素类型 - 单选按钮
//属性
'attribute' => [
'required' => false,//是否必填
'disabled' => true,//是否禁用
],
'options' => [
'0' => '余额支付',
'1' => '分账支付'
],
'msg' => '商家支付配送费的方式。余额支付:需要保证商家在本站点有充足的余额。分账支付:从用户支付的订单费用中扣除,需保证分账比例满足所扣除的金额',//提示内容
'value' => '0'//初始值
]
];