Commit 6ef66997 authored by 梁俊杰's avatar 梁俊杰

Initial commit

parents
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ComposerJsonPluginSettings">
<unboundedVersionInspectionSettings>
<excludedPackages />
</unboundedVersionInspectionSettings>
<customRepositories />
<composerUpdateOptions />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/meibuyu.iml" filepath="$PROJECT_DIR$/.idea/meibuyu.iml" />
</modules>
</component>
</project>
\ No newline at end of file
This diff is collapsed.
Copyright (c) 2006-2019 meibuyu library
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# Meibuyu Library
美不语微服务官方接口库
### 1、如何使用
在使用的项目下的composer.json 加入以下内容
``` "repositories": {
"meibuyu/micro": {
"type": "path",
"url": "d:/workspace/biubiubiu",#本库的具体地址,随意找个地方git clone下来
"options": {
"symlink": true
}
},
}
```
然后在使用的项目下执行
```
composer require meibuyu/micro @dev
```
{
"name": "meibuyu/micro",
"description": "美不语微服务公共接口库",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "梁俊杰",
"email": "blithe8787@163.com"
}
],
"require": {},
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"meibuyu\\micro\\": "src/"
}
}
}
<?php
/**
* Created by PhpStorm.
* UserInterface: 梁俊杰
* Date: 2019/11/18
* Time: 17:15
* Description:
*/
namespace Meibuyu\Micro;
interface CategoryInterface
{
/**
* 新增品类
* @param array $attribute
* @return bool
*/
public function add($attribute);
/**
* 更新品类
* @param array $attribute
* @param int $id
* @return bool
*/
public function update($attribute, $id);
public function delete($id);
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:44
* Description:
*/
namespace Meibuyu\Micro;
interface DepartmentInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:43
* Description:
*/
namespace Meibuyu\Micro;
interface FactoryInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:42
* Description:
*/
namespace Meibuyu\Micro;
interface LogisticsInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:42
* Description:
*/
namespace Meibuyu\Micro;
interface MaterialInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:41
* Description:
*/
namespace Meibuyu\Micro;
interface MessageInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:41
* Description:
*/
namespace Meibuyu\Micro;
interface PermissionInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:40
* Description:
*/
namespace Meibuyu\Micro;
interface ProductChildInterface
{
}
<?php
/**
* Created by PhpStorm.
* UserInterface: 梁俊杰
* Date: 2019/11/18
* Time: 17:15
* Description:
*/
namespace Meibuyu\Micro;
interface ProductInterface
{
/**
* 新增品类
* @param array $attribute
* @return bool
*/
public function add($attribute);
/**
* 更新品类
* @param array $attribute
* @param int $id
* @return bool
*/
public function update($attribute, $id);
public function delete($id);
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:39
* Description:
*/
namespace Meibuyu\Micro;
interface RoleInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:38
* Description:
*/
namespace Meibuyu\Micro;
interface SiteInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:38
* Description:
*/
namespace Meibuyu\Micro;
interface SizeInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:37
* Description:
*/
namespace Meibuyu\Micro;
interface SupplierInterface
{
}
<?php
/**
* Created by PhpStorm.
* User: 梁俊杰
* Date: 2019/11/19
* Time: 08:37
* Description:
*/
namespace Meibuyu\Micro;
interface TeamInterface
{
}
<?php
/**
* Created by PhpStorm.
* UserInterface: 梁俊杰
* Date: 2019/11/19
* Time: 08:36
* Description:
*/
namespace Meibuyu\Micro;
interface UserInterface
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment