Commit 6da14c3b by liwotianname

增加账本接口

parent 822b0357
...@@ -16,7 +16,7 @@ use Swoft\Core\ResultInterface; ...@@ -16,7 +16,7 @@ use Swoft\Core\ResultInterface;
/** /**
* The interface of demo service * The interface of demo service
* *
* @method ResultInterface deferBackNum(string $token, int $consignee_id, int $limit_id, int $selected_num, int $order_type, int $goods_id, string $reservation_time = '') * @method ResultInterface deferIncome(string $token, int $consignee_id, int $limit_id, int $selected_num, int $order_type, int $goods_id, string $reservation_time = '')
*/ */
interface AccountInterface interface AccountInterface
{ {
...@@ -24,16 +24,16 @@ interface AccountInterface ...@@ -24,16 +24,16 @@ interface AccountInterface
* 流水增加 * 流水增加
* @param $storeId * @param $storeId
* @param $money * @param $money
* @param $ordirId * @param $orderId
* @return bool * @return bool
*/ */
public function Income($storeId, $money, $ordirId); public function Income(int $storeId, int $money,int $orderId);
/** /**
* 流水减少 * 流水减少
* @param $storeId * @param $storeId
* @param $money * @param $money
* @param $ordirId * @param $orderId
* @return bool * @return bool
*/ */
public function Expense($storeId, $money, $ordirId); public function Expense(int $storeId, int $money, int $orderId);
} }
\ 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