Commit aedae9b4 by liwotianname

增加账本接口 更改

parent 6da14c3b
......@@ -8,15 +8,16 @@
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace Hdll\Services\LimitTimeBuy\Lib;
namespace Hdll\Services\AccountBook\Lib;
use Hdll\Services\LimitTimeBuy\Enum\LimitTimeOrderEnum;
use Swoft\Core\ResultInterface;
/**
* The interface of demo service
*
* @method ResultInterface deferIncome(string $token, int $consignee_id, int $limit_id, int $selected_num, int $order_type, int $goods_id, string $reservation_time = '')
* @method ResultInterface deferIncome(int $storeId, int $money,int $orderId)
* @method ResultInterface deferExpense(int $storeId, int $money,int $orderId)
*/
interface AccountInterface
{
......@@ -24,16 +25,17 @@ interface AccountInterface
* 流水增加
* @param $storeId
* @param $money
* @param $orderId
* @param $ordirId
* @return bool
*/
public function Income(int $storeId, int $money,int $orderId);
public function Income($storeId, $money, $ordirId);
/**
* 流水减少
* @param $storeId
* @param $money
* @param $orderId
* @param $ordirId
* @return bool
*/
public function Expense(int $storeId, int $money, int $orderId);
public function Expense($storeId, $money, $ordirId);
}
\ No newline at end of file
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