Constants

AUTHORITY_TYPE_READ

AUTHORITY_TYPE_READ = "application_type_read"

AUTHORITY_TYPE_ADD

AUTHORITY_TYPE_ADD = "application_type_add"

AUTHORITY_TYPE_REMOVE

AUTHORITY_TYPE_REMOVE = "application_type_remove"

AUTHORITY_TYPE_EDIT

AUTHORITY_TYPE_EDIT = "application_type_edit"

AUTHORITY_CACHE_READ

AUTHORITY_CACHE_READ = "application_cache_read"

AUTHORITY_CACHE_CLEAR

AUTHORITY_CACHE_CLEAR = "application_cache_clear"

AUTHORITY_CONFIG_PAY_READ

AUTHORITY_CONFIG_PAY_READ = "application_config_pay_read"

AUTHORITY_CONFIG_PAY_EDIT

AUTHORITY_CONFIG_PAY_EDIT = "application_config_pay_edit"

AUTHORITY_CONFIG_READ

AUTHORITY_CONFIG_READ = "application_config_read"

AUTHORITY_CONFIG_EDIT

AUTHORITY_CONFIG_EDIT = "application_config_edit"

AUTHORITY_SLIDESHOW_ADD

AUTHORITY_SLIDESHOW_ADD = "application_slideshow_add"

AUTHORITY_SLIDESHOW_READ

AUTHORITY_SLIDESHOW_READ = "application_slideshow_read"

AUTHORITY_SLIDESHOW_EDIT

AUTHORITY_SLIDESHOW_EDIT = "application_slideshow_edit"

AUTHORITY_SLIDESHOW_REMOVE

AUTHORITY_SLIDESHOW_REMOVE = "application_slideshow_remove"

AUTHORITY_COUPON_ADD

AUTHORITY_COUPON_ADD = "application_coupon_add"

AUTHORITY_COUPON_READ

AUTHORITY_COUPON_READ = "application_coupon_read"

AUTHORITY_COUPON_EDIT

AUTHORITY_COUPON_EDIT = "application_coupon_edit"

AUTHORITY_COUPON_REMOVE

AUTHORITY_COUPON_REMOVE = "application_coupon_remove"

Methods

self_data()

self_data() : array

获取当前应用的数据

Returns

array

get_parent_recommend_user_credit()

get_parent_recommend_user_credit(integer  $credit_number, array  $config = array(), boolean  $throw = false) 

获取 推荐人积分奖励配置

Parameters

integer $credit_number

积分数量

array $config

配置信息

boolean $throw

是否报错

get_rmb_consume_user_credit()

get_rmb_consume_user_credit(integer  $money_fen, array  $config,   $throw = false) : array

获取 用户消费赠送积分配置

Parameters

integer $money_fen

消费金额

array $config

配置信息

$throw

Returns

array

get_pay_config()

get_pay_config(array  $data, array  $order_json, array  $config) 

获取支付配置 $config = array( "money_fen" 支付或提现的钱 "subject" 商品的标题/交易标题/订单标题/订单关键字等。 "body" 商品描述。商品简单描述,该字段须严格按照规范传递 "attach" 附加数据。附加数据,在查询API和支付通知中原样返回,该字段主要用于商户携带订单的自定义数据 "order_id" 订单ID "standby_order_id" 备用订单ID。当由业务订单ID和资金订单ID的时候,这里填资金订单ID )

Parameters

array $data

数据

array $order_json

订单配置

array $config

配置信息

qiniu_image_upload()

qiniu_image_upload(array  $config = array()) : array

上传图片到七牛云

Parameters

array $config

Returns

array

qiniu_image_remove()

qiniu_image_remove(  $config = array()) : NULL

删除七牛云图片 $config = array( "image_id" => 图片ID "qiniu_config" => 配置信息 );

Parameters

$config

Returns

NULL

kuaidi100_subscription_push()

kuaidi100_subscription_push(string  $shipping_no, string  $shipping_sign, array  $config = array()) 

快递100 订阅推送(订阅)

Parameters

string $shipping_no

运单号

string $shipping_sign

快递的类型,快递名称英文

array $config

快递100的配置

api_options()

api_options(array  $input = array()) : array

------Mr.Zhao------2019.08.12------

获取物流类型--不分页

api: APPLICATIONADMINSHIPPINGOPTIONS {"class":"application/admin_shipping","method":"api_options"}

Parameters

array $input

Returns

array