Commit b02b2c17 authored by 王源's avatar 王源 🎧

调整rpc接口文件命名空间

parent 0343a4e1
Copyright (c) 2006-2019 meibuyu library Copyright (c) 2006-2021 meibuyu library
Permission is hereby granted, free of charge, to any person obtaining a copy of 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 this software and associated documentation files (the "Software"), to deal in
......
{ {
"name": "meibuyu/micro", "name": "meibuyu/rpc",
"description": "美不语微服务公共接口库", "description": "美不语微服务RPC接口库",
"type": "library", "type": "library",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
"name": "梁俊杰", "name": "Zero",
"email": "blithe8787@163.com" "email": "wangyuanwmm@163.com"
} }
], ],
"require": { "require": {
"ext-json": "*", },
"ext-redis": "*", "autoload": {
"ext-gd": "*", "psr-4": {
"ext-curl": "*", "Meibuyu\\Rpc\\": "src/"
"ext-mbstring": "*", }
"hyperf/cache": "~1.1.0",
"hyperf/framework": "~1.1.0",
"hyperf/db-connection": "~1.1.0",
"hyperf/validation": "~1.1.0",
"hyperf/command": "~1.1.0",
"hyperf/redis": "~1.1.0",
"hyperf/guzzle": "~1.1.0",
"hyperf/config": "~1.1.0",
"hyperf/logger": "~1.1.0",
"hyperf/service-governance": "~1.1.0",
"fzaninotto/faker": "^1.9",
"phpoffice/phpspreadsheet": "^1.18",
"dimsav/unix-zipper": "1.*",
"hyperf/amqp": "~1.1.0"
},
"autoload": {
"psr-4": {
"Meibuyu\\Micro\\": "src/"
}, },
"files": [ "extra": {
"src/functions.php", "hyperf": {
"src/const.php" "config": "Meibuyu\\Rpc\\ConfigProvider"
] }
},
"extra": {
"hyperf": {
"config": "Meibuyu\\Micro\\ConfigProvider"
} }
}
} }
<?php <?php
namespace Meibuyu\Micro\Exceptions; namespace Meibuyu\Rpc\Exceptions;
use Throwable; use Throwable;
......
<?php <?php
/** /**
* Created by PhpStorm. * Created by PhpStorm.
* User: zero * User: Zero
* Date: 2020/3/27 * Date: 2020/3/27
* Time: 15:03 * Time: 15:03
*/ */
namespace Meibuyu\Micro\Service\Interfaces; namespace Meibuyu\Rpc\Service\Interfaces\App;
interface AppServiceInterface interface AppServiceInterface
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces; namespace Meibuyu\Rpc\Service\Interfaces\Datacenter;
interface DatacenterServiceInterface interface DatacenterServiceInterface
{ {
...@@ -36,5 +36,4 @@ interface DatacenterServiceInterface ...@@ -36,5 +36,4 @@ interface DatacenterServiceInterface
*/ */
public function getCurrencyListRate($currencyIds, $field = ['id', 'currency_id', 'rate_val'], $where = []): array; public function getCurrencyListRate($currencyIds, $field = ['id', 'currency_id', 'rate_val'], $where = []): array;
}
}
\ No newline at end of file
<?php <?php
namespace Meibuyu\Rpc\Service\Interfaces\File;
namespace Meibuyu\Micro\Service\Interfaces\File;
interface FileServiceInterface interface FileServiceInterface
{ {
...@@ -12,4 +10,4 @@ interface FileServiceInterface ...@@ -12,4 +10,4 @@ interface FileServiceInterface
* @return mixed * @return mixed
*/ */
public function generateBarCode($type, $number); public function generateBarCode($type, $number);
} }
\ No newline at end of file
<?php <?php
namespace Meibuyu\Rpc\Service\Interfaces\Flow;
namespace Meibuyu\Micro\Service\Interfaces\Flow;
interface GetConnectModuleServiceInterface interface GetConnectModuleServiceInterface
{ {
...@@ -12,4 +10,4 @@ interface GetConnectModuleServiceInterface ...@@ -12,4 +10,4 @@ interface GetConnectModuleServiceInterface
* @return mixed * @return mixed
*/ */
public function getConnectModule($channel); public function getConnectModule($channel);
} }
\ No newline at end of file
<?php <?php
namespace Meibuyu\Rpc\Service\Interfaces\Flow;
namespace Meibuyu\Micro\Service\Interfaces\Flow;
interface ProcessFormServiceInterface interface ProcessFormServiceInterface
{ {
...@@ -22,4 +20,4 @@ interface ProcessFormServiceInterface ...@@ -22,4 +20,4 @@ interface ProcessFormServiceInterface
* @return mixed * @return mixed
*/ */
public function operateFlow($ApplyId, $operate); public function operateFlow($ApplyId, $operate);
} }
\ No newline at end of file
<?php <?php
namespace Meibuyu\Rpc\Service\Interfaces\Logistics;
namespace Meibuyu\Micro\Service\Interfaces\Logistics;
interface LogisticsServiceInterface interface LogisticsServiceInterface
{ {
...@@ -12,8 +10,7 @@ interface LogisticsServiceInterface ...@@ -12,8 +10,7 @@ interface LogisticsServiceInterface
* @param array $logisticsInfo 物流公司信息 $logisticsInfo = [['logistics_code' => '', 'logistics_no' => '']]; * @param array $logisticsInfo 物流公司信息 $logisticsInfo = [['logistics_code' => '', 'logistics_no' => '']];
* @return mixed * @return mixed
*/ */
public function push($module, $logisticsInfo);
public function push($module,$logisticsInfo);
/** /**
* 根据物流单号查询物流信息 * 根据物流单号查询物流信息
...@@ -21,4 +18,4 @@ interface LogisticsServiceInterface ...@@ -21,4 +18,4 @@ interface LogisticsServiceInterface
* @return mixed * @return mixed
*/ */
public function logisticsInfo($logisticsNo); public function logisticsInfo($logisticsNo);
} }
\ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:48 * Time: 15:48
*/ */
namespace Meibuyu\Micro\Service\Interfaces\DingTalk; namespace Meibuyu\Rpc\Service\Interfaces\Message\DingTalk;
interface DingDepartmentServiceInterface interface DingDepartmentServiceInterface
{ {
......
...@@ -6,9 +6,7 @@ ...@@ -6,9 +6,7 @@
* Time: 15:48 * Time: 15:48
*/ */
namespace Meibuyu\Micro\Service\Interfaces\DingTalk; namespace Meibuyu\Rpc\Service\Interfaces\Message\DingTalk;
use phpDocumentor\Reflection\Types\Mixed_;
interface DingMessageServiceInterface interface DingMessageServiceInterface
{ {
...@@ -18,13 +16,12 @@ interface DingMessageServiceInterface ...@@ -18,13 +16,12 @@ interface DingMessageServiceInterface
* *
* @param string $sender 消息发送者 userId * @param string $sender 消息发送者 userId
* @param string $cid 群会话或者个人会话的id,通过JSAPI接口唤起联系人界面选择会话获取会话cid;小程序参考获取会话信息,H5微应用参考获取会话信息 * @param string $cid 群会话或者个人会话的id,通过JSAPI接口唤起联系人界面选择会话获取会话cid;小程序参考获取会话信息,H5微应用参考获取会话信息
* @param array $message 消息内容,消息类型和样例可参考“消息类型与数据格式”文档。最长不超过2048个字节 * @param array $message 消息内容,消息类型和样例可参考“消息类型与数据格式”文档。最长不超过2048个字节
* *
* @return mixed * @return mixed
*/ */
public function sendGeneralMessage($sender, $cid, $message); public function sendGeneralMessage($sender, $cid, $message);
/** /**
* 发送工作通知消息 * 发送工作通知消息
* @param array $params * @param array $params
...@@ -45,12 +42,12 @@ interface DingMessageServiceInterface ...@@ -45,12 +42,12 @@ interface DingMessageServiceInterface
*/ */
public function corporationMessage($taskId); public function corporationMessage($taskId);
/** /**
* 发送text钉钉消息 * 发送text钉钉消息
* @param integer $templateId 模板id * @param integer $templateId 模板id
* @param array $replace 替换内容(注意顺序) * @param array $replace 替换内容(注意顺序)
* @param array $userIds 用户id(这个是微服务用户的id) * @param array $userIds 用户id(这个是微服务用户的id)
* @return mixed * @return mixed
*/ */
public function sendTextMessage($templateId, $replace, $userIds); public function sendTextMessage($templateId, $replace, $userIds);
} }
...@@ -6,11 +6,12 @@ ...@@ -6,11 +6,12 @@
* Time: 15:48 * Time: 15:48
*/ */
namespace Meibuyu\Micro\Service\Interfaces\DingTalk; namespace Meibuyu\Rpc\Service\Interfaces\Message\DingTalk;
interface DingUserServiceInterface interface DingUserServiceInterface
{ {
/** 通过用户id获取单个用户信息 /**
* 通过用户id获取单个用户信息
* @param string $ding_user_id 钉钉用户id * @param string $ding_user_id 钉钉用户id
* @return array 钉钉用户信息 * @return array 钉钉用户信息
*/ */
......
...@@ -6,9 +6,7 @@ ...@@ -6,9 +6,7 @@
* Time: 15:48 * Time: 15:48
*/ */
namespace Meibuyu\Micro\Service\Interfaces; namespace Meibuyu\Rpc\Service\Interfaces\Message;
use phpDocumentor\Reflection\Types\Integer;
interface MessageServiceInterface interface MessageServiceInterface
{ {
...@@ -23,7 +21,6 @@ interface MessageServiceInterface ...@@ -23,7 +21,6 @@ interface MessageServiceInterface
*/ */
public function send(array $receiveUserId, $application, $templateId = 0, $sendUserId = 0, $replace = [], $content = ''): bool; public function send(array $receiveUserId, $application, $templateId = 0, $sendUserId = 0, $replace = [], $content = ''): bool;
/** /**
* description:发送邮件 * description:发送邮件
* author: fuyunnan * author: fuyunnan
...@@ -36,7 +33,6 @@ interface MessageServiceInterface ...@@ -36,7 +33,6 @@ interface MessageServiceInterface
*/ */
public function sendMail($userList, $subject, $body): bool; public function sendMail($userList, $subject, $body): bool;
/** /**
* 发送markdown文本消息 * 发送markdown文本消息
* @param array $receiveUserId * @param array $receiveUserId
...@@ -58,4 +54,5 @@ interface MessageServiceInterface ...@@ -58,4 +54,5 @@ interface MessageServiceInterface
* @return bool * @return bool
*/ */
public function sendSms(string $phone, string $templateCode, array $params): bool; public function sendSms(string $phone, string $templateCode, array $params): bool;
} }
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 10:09 * Time: 10:09
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Operation; namespace Meibuyu\Rpc\Service\Interfaces\Operation;
interface OperationServiceInterface interface OperationServiceInterface
{ {
...@@ -23,4 +23,4 @@ interface OperationServiceInterface ...@@ -23,4 +23,4 @@ interface OperationServiceInterface
* @return mixed * @return mixed
*/ */
public function getBusinessSaleOtherDatumRmb(array $conditions); public function getBusinessSaleOtherDatumRmb(array $conditions);
} }
\ No newline at end of file
...@@ -6,9 +6,7 @@ ...@@ -6,9 +6,7 @@
* Time: 15:48 * Time: 15:48
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Order; namespace Meibuyu\Rpc\Service\Interfaces\Order;
interface ShopifyOrderServiceInterface interface ShopifyOrderServiceInterface
{ {
......
<?php <?php
namespace Meibuyu\Micro\Service\Interfaces\Order;
namespace Meibuyu\Rpc\Service\Interfaces\Order;
interface StockUpServiceInterface interface StockUpServiceInterface
{ {
...@@ -9,19 +9,19 @@ interface StockUpServiceInterface ...@@ -9,19 +9,19 @@ interface StockUpServiceInterface
* @param $stockNo * @param $stockNo
* @return mixed * @return mixed
*/ */
public function stockIntoUpdateStatus($stockNo):bool; public function stockIntoUpdateStatus($stockNo): bool;
/** /**
* 跟进物流单号 * 跟进物流单号
* @param $logisticsNo * @param $logisticsNo
* @return array * @return array
*/ */
public function getStockUpInfoByLogisticsNo($logisticsNo):array; public function getStockUpInfoByLogisticsNo($logisticsNo): array;
/** /**
* *
* @param $sourceNo * @param $sourceNo
* @return array * @return array
*/ */
public function getStockUpInfoByOrderNo($sourceNo):array; public function getStockUpInfoByOrderNo($sourceNo): array;
} }
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 10:09 * Time: 10:09
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Order; namespace Meibuyu\Rpc\Service\Interfaces\Order;
interface SubOrderServiceInterface interface SubOrderServiceInterface
{ {
...@@ -57,7 +57,6 @@ interface SubOrderServiceInterface ...@@ -57,7 +57,6 @@ interface SubOrderServiceInterface
* @param array $source 来源单号数组 * @param array $source 来源单号数组
* @return array * @return array
*/ */
public function getBySourceSite($source): array; public function getBySourceSite($source): array;
/** /**
...@@ -83,7 +82,7 @@ interface SubOrderServiceInterface ...@@ -83,7 +82,7 @@ interface SubOrderServiceInterface
* ] * ]
* @return bool * @return bool
*/ */
public function purchaseCompleted($data,$type): bool; public function purchaseCompleted($data, $type): bool;
/** /**
* 1688采购异常订单 修改OA子订单状态 * 1688采购异常订单 修改OA子订单状态
...@@ -91,7 +90,7 @@ interface SubOrderServiceInterface ...@@ -91,7 +90,7 @@ interface SubOrderServiceInterface
* @param $errorCode //异常信息 1 取消 2其他 * @param $errorCode //异常信息 1 取消 2其他
* @return array * @return array
*/ */
public function purchaseError($orderId,$errorCode):array ; public function purchaseError($orderId, $errorCode): array;
/** /**
* 1688采购取消 * 1688采购取消
...@@ -99,7 +98,7 @@ interface SubOrderServiceInterface ...@@ -99,7 +98,7 @@ interface SubOrderServiceInterface
* @param $editData * @param $editData
* @return bool * @return bool
*/ */
public function purchaseCancel($orderNo,$editData = []):bool; public function purchaseCancel($orderNo, $editData = []): bool;
/** /**
* 1688采购 修改oa子订单 * 1688采购 修改oa子订单
...@@ -111,7 +110,7 @@ interface SubOrderServiceInterface ...@@ -111,7 +110,7 @@ interface SubOrderServiceInterface
* ] * ]
* @return array * @return array
*/ */
public function purchaseEdit($editData):bool ; public function purchaseEdit($editData): bool;
/** /**
* 删除物流信息 * 删除物流信息
...@@ -121,6 +120,6 @@ interface SubOrderServiceInterface ...@@ -121,6 +120,6 @@ interface SubOrderServiceInterface
* ] * ]
* @return bool * @return bool
*/ */
public function purchaseDelete($data):bool; public function purchaseDelete($data): bool;
} }
\ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Product; namespace Meibuyu\Rpc\Service\Interfaces\Product;
interface MaterialServiceInterface interface MaterialServiceInterface
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Product; namespace Meibuyu\Rpc\Service\Interfaces\Product;
interface PlatformProductChildServiceInterface interface PlatformProductChildServiceInterface
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Product; namespace Meibuyu\Rpc\Service\Interfaces\Product;
interface PlatformProductServiceInterface interface PlatformProductServiceInterface
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Product; namespace Meibuyu\Rpc\Service\Interfaces\Product;
interface ProductChildServiceInterface interface ProductChildServiceInterface
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Product; namespace Meibuyu\Rpc\Service\Interfaces\Product;
interface ProductServiceInterface interface ProductServiceInterface
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 9:39 * Time: 9:39
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Product; namespace Meibuyu\Rpc\Service\Interfaces\Product;
interface ShopifyProductServiceInterface interface ShopifyProductServiceInterface
{ {
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
* Time: 9:39 * Time: 9:39
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Product; namespace Meibuyu\Rpc\Service\Interfaces\Product;
use Exception; use Exception;
use Meibuyu\Micro\Exceptions\RpcException; use Meibuyu\Rpc\Exceptions\RpcException;
interface ShopifyServiceInterface interface ShopifyServiceInterface
{ {
......
<?php
/**
* Created by PhpStorm.
* User: 王源
* Date: 2020/1/9
* Time: 15:07
*/
namespace Meibuyu\Micro\Service\Interfaces;
interface ProductChildServiceInterface
{
/**
* 获取单个数据
* @param int $id 子SKU id
* @param array $columns 子SKU表的字段,默认显示全部
* @param array $relations 子SKU的关联关系,可传入['brand', 'category', 'product_name', 'images', 'cost']
* @return array|null
*/
public function get($id, array $columns = ['*'], array $relations = []);
/**
* 通过id列表获取产品数组
* @param array $idList 子SKUid的列表, 默认去重
* @param array $columns 子SKU表的字段,默认显示全部
* @param array $relations 子SKU的关联关系,可传入['brand', 'category', 'product_name', 'images', 'cost']
* @return array 默认keyBy('id')
*/
public function getByIdList(array $idList, array $columns = ['*'], array $relations = []): array;
/**
* 通过sku列表获取子产品列表
* @param array $skuList 默认去重
* @param array $columns
* @return array 默认keyBy('child_sku')
*/
public function getListBySkuList(array $skuList, array $columns = ['id']);
}
<?php <?php
namespace Meibuyu\Micro\Service\Interfaces\Production; namespace Meibuyu\Rpc\Service\Interfaces\Production;
use Meibuyu\Micro\Exceptions\HttpResponseException;
interface ProductionServiceInterface interface ProductionServiceInterface
{ {
...@@ -19,7 +17,7 @@ interface ProductionServiceInterface ...@@ -19,7 +17,7 @@ interface ProductionServiceInterface
* 'count' => '123', // 入库数量, 必须 * 'count' => '123', // 入库数量, 必须
* ] * ]
* ] * ]
* @throws HttpResponseException * @throws \Meibuyu\Rpc\Exceptions\RpcException
* @author Zero * @author Zero
*/ */
public function warehousingCallback(array $params); public function warehousingCallback(array $params);
......
<?php <?php
namespace Meibuyu\Rpc\Service\Interfaces\Purchase;
namespace Meibuyu\Micro\Service\Interfaces\Purchase;
interface PurchaseDoneServiceInterface interface PurchaseDoneServiceInterface
{ {
...@@ -34,4 +32,4 @@ interface PurchaseDoneServiceInterface ...@@ -34,4 +32,4 @@ interface PurchaseDoneServiceInterface
* @return mixed * @return mixed
*/ */
public function getOrderStatus($orderIds); public function getOrderStatus($orderIds);
} }
\ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 14:22:52 * Time: 14:22:52
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Purchase; namespace Meibuyu\Rpc\Service\Interfaces\Purchase;
interface PurchaseTaskServiceInterface interface PurchaseTaskServiceInterface
{ {
...@@ -29,7 +29,7 @@ interface PurchaseTaskServiceInterface ...@@ -29,7 +29,7 @@ interface PurchaseTaskServiceInterface
* 'auth' => Auth::user() // 当前用户 * 'auth' => Auth::user() // 当前用户
* ] * ]
* @return bool * @return bool
* @throws \Meibuyu\Micro\Exceptions\RpcException * @throws \Meibuyu\Rpc\Exceptions\RpcException
* @author Zero * @author Zero
*/ */
public function noticeCancel(array $data); public function noticeCancel(array $data);
...@@ -40,7 +40,7 @@ interface PurchaseTaskServiceInterface ...@@ -40,7 +40,7 @@ interface PurchaseTaskServiceInterface
* @param array $data 要更新的数据如['specification', 'remark']等 * @param array $data 要更新的数据如['specification', 'remark']等
* @param int $type 采购类型,默认为订单采购,可传参数[1(订单采购); 2(备货采购); 3(样品采购)] * @param int $type 采购类型,默认为订单采购,可传参数[1(订单采购); 2(备货采购); 3(样品采购)]
* @return bool * @return bool
* @throws \Meibuyu\Micro\Exceptions\RpcException * @throws \Meibuyu\Rpc\Exceptions\RpcException
* @author Zero * @author Zero
*/ */
public function updateProduct($sourceId, array $data, $type = 1); public function updateProduct($sourceId, array $data, $type = 1);
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:48 * Time: 15:48
*/ */
namespace Meibuyu\Micro\Service\Interfaces; namespace Meibuyu\Rpc\Service\Interfaces\Store;
interface DispatchPlanServiceInterface interface DispatchPlanServiceInterface
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces\Store; namespace Meibuyu\Rpc\Service\Interfaces\Store;
interface StoreMaterialServiceInterface interface StoreMaterialServiceInterface
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces; namespace Meibuyu\Rpc\Service\Interfaces\Store;
interface StoreServiceInterface interface StoreServiceInterface
{ {
...@@ -34,16 +34,16 @@ interface StoreServiceInterface ...@@ -34,16 +34,16 @@ interface StoreServiceInterface
* description:根据筛选条件获取仓库的库存列表 对库存筛选实现大一统 * description:根据筛选条件获取仓库的库存列表 对库存筛选实现大一统
* 参数格式 不需要可不传入对应的键 * 参数格式 不需要可不传入对应的键
* $args['inTeamIds'] =[]; * $args['inTeamIds'] =[];
$args['notInTeamIds'] = []; * $args['notInTeamIds'] = [];
$args['inWhIds'] = []; //仓库id * $args['inWhIds'] = []; //仓库id
$args['notInWhIds'] = []; * $args['notInWhIds'] = [];
$args['inProductIds'] = []; * $args['inProductIds'] = [];
$args['notInProductIds'] = []; * $args['notInProductIds'] = [];
$args['where'] = []; * $args['where'] = [];
$args['group'] = ['product_id'];//默认['product_id'] * $args['group'] = ['product_id'];//默认['product_id']
$args['keyBy'] = 'product_id';//默认排序 * $args['keyBy'] = 'product_id';//默认排序
$args['isKeyBy'] = $condition['isKeyBy'] ?? true;//是否加keyBy; * $args['isKeyBy'] = $condition['isKeyBy'] ?? true;//是否加keyBy;
$args['isGroupBy'] = $condition['isGroupBy'] ?? true;//是否加分组; * $args['isGroupBy'] = $condition['isGroupBy'] ?? true;//是否加分组;
* *
* author: fuyunnan * author: fuyunnan
* @param array $condition 筛选条件 * @param array $condition 筛选条件
...@@ -157,7 +157,6 @@ interface StoreServiceInterface ...@@ -157,7 +157,6 @@ interface StoreServiceInterface
public function createBatchWarehousingStatus(array $attributes): bool; public function createBatchWarehousingStatus(array $attributes): bool;
/** /**
* description:批量创建出库单,出库单直接出库 * description:批量创建出库单,出库单直接出库
* author: fuyunnan * author: fuyunnan
...@@ -297,6 +296,7 @@ interface StoreServiceInterface ...@@ -297,6 +296,7 @@ interface StoreServiceInterface
* Date: 2020/11/25 * Date: 2020/11/25
*/ */
public function autoSkuStock($data): array; public function autoSkuStock($data): array;
/** /**
* description:订单通知取消更改字段 不在生成出库单 * description:订单通知取消更改字段 不在生成出库单
* author: fuyunnan * author: fuyunnan
......
<?php <?php
/** /**
* Created by PhpStorm. * Created by PhpStorm.
* User: zero * User: Zero
* Date: 2020/5/26 * Date: 2020/5/26
* Time: 15:17 * Time: 15:17
*/ */
namespace Meibuyu\Micro\Service\Interfaces\User; namespace Meibuyu\Rpc\Service\Interfaces\User;
interface AccessServiceInterface interface AccessServiceInterface
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces; namespace Meibuyu\Rpc\Service\Interfaces\User;
interface BaseInfoServiceInterface interface BaseInfoServiceInterface
{ {
...@@ -14,8 +14,6 @@ interface BaseInfoServiceInterface ...@@ -14,8 +14,6 @@ interface BaseInfoServiceInterface
/** /**
* 通过单个id获取岗位数组 * 通过单个id获取岗位数组
* @param int $id * @param int $id
* @param array $columns
* @param array $relations
* @return array * @return array
*/ */
public function getPositionListById(int $id): array; public function getPositionListById(int $id): array;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Time: 15:07 * Time: 15:07
*/ */
namespace Meibuyu\Micro\Service\Interfaces; namespace Meibuyu\Rpc\Service\Interfaces\User;
interface UserServiceInterface interface UserServiceInterface
{ {
......
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