Commit e099e9d2 authored by shajiaiming's avatar shajiaiming

fix

parent 3e1b510b
......@@ -9,6 +9,7 @@ import (
"bwallet/service/chain_service"
"bwallet/service/coin_service"
"bwallet/service/recommend_coin_service"
"bwallet/service/trusteeship_coin_service"
"bwallet/service/wallet_service"
"bwallet/validate_service"
"github.com/Unknwon/com"
......@@ -259,6 +260,8 @@ func DeleteCoin(c *gin.Context) {
recommendCoinService := recommend_coin_service.RecommendCoin{Cid: id}
recommendCoinService.DeleteByCondition()
trusteeshipCoinService := trusteeship_coin_service.TrusteeshipCoin{Cid: id}
trusteeshipCoinService.DeleteTrusteeshipByCondition()
handler.SendResponse(c, nil, nil)
}
......
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