ylbtest/output_standard_log

There is no license information available for the latest version (1.0.2) of this package.

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/ylbtest/output_standard_log

1.0.2 2019-03-23 14:41 UTC

This package is not auto-updated.

Last update: 2025-10-28 03:17:49 UTC


README

用于返回统一的 code

Installation

$ composer require "shum/shum-unified-code" -vvv

注册

config -> app.php -> providers 添加 ShuM\Unifiedcode\UnifiedcodeServiceProvider::class

config -> app.php -> aliases 添加 'Unifiedcode' => ShuM\Unifiedcode\Facades\Unifiedcode::class,

使用

int $code 返回码

array $param 需要替换的值 例: array(':type' => 1, ':name' => 'shum')

Unifiedcode::parsingCode($code, $param)