Sfoglia il codice sorgente

客户端-下单-复购金扣减失败问题

sunxbiao 10 mesi fa
parent
commit
7150796428

+ 2 - 2
app/common/repositories/user/UserSignFugouRepository.php

@@ -115,9 +115,9 @@ class UserSignFugouRepository extends BaseRepository
115
     /**
115
     /**
116
      * 将 复购 记录设置为生效状态 并对用户的 复购 字段进行增减
116
      * 将 复购 记录设置为生效状态 并对用户的 复购 字段进行增减
117
      * @param int $id
117
      * @param int $id
118
-     * @return UserSignFugouEntity
118
+     * @return int
119
      */
119
      */
120
-    public function execute(int $id): UserSignFugouEntity
120
+    public function execute(int $id): int
121
     {
121
     {
122
         $result = $this->executeByIdList([$id]);
122
         $result = $this->executeByIdList([$id]);
123
         return array_shift($result);
123
         return array_shift($result);