java110
2022-02-25 8a2a463d46b3dce73015462c9f6a2a258dd25f5b
java110-interface/src/main/java/com/java110/intf/acct/IShopVipAccountInnerServiceSMO.java
@@ -3,6 +3,7 @@
import com.java110.config.feign.FeignConfiguration;
import com.java110.dto.shopVipAccount.ShopVipAccountDto;
import com.java110.po.shopVipAccount.ShopVipAccountPo;
import com.java110.po.shopVipAccountDetail.ShopVipAccountDetailPo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -18,7 +19,7 @@
 * @Version 1.0
 * add by wuxw 2019/4/24
 **/
@FeignClient(name = "acct-service", configuration = {FeignConfiguration.class})
@FeignClient(name = "${java110.acct-service}", configuration = {FeignConfiguration.class})
@RequestMapping("/shopVipAccountApi")
public interface IShopVipAccountInnerServiceSMO {
@@ -50,4 +51,20 @@
     */
    @RequestMapping(value = "/queryShopVipAccountsCount", method = RequestMethod.POST)
    int queryShopVipAccountsCount(@RequestBody ShopVipAccountDto shopVipAccountDto);
    /**
     * 预存金额
     * @param accountDetailPo
     * @return
     */
    @RequestMapping(value = "/prestoreAccount", method = RequestMethod.POST)
    int prestoreAccount(@RequestBody ShopVipAccountDetailPo accountDetailPo);
    /**
     * 扣款金额
     * @param accountDetailPo
     * @return
     */
    @RequestMapping(value = "/withholdAccount", method = RequestMethod.POST)
    int withholdAccount(@RequestBody ShopVipAccountDetailPo accountDetailPo);
}