| | |
| | | import com.nq.pojo.User; |
| | | import com.nq.pojo.UserBank; |
| | | import com.nq.service.IAgentUserService; |
| | | import com.nq.service.IUserAssetsServices; |
| | | import com.nq.service.IUserBankService; |
| | | import com.nq.service.IUserService; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | | import com.nq.utils.PropertiesUtil; |
| | | import com.nq.utils.redis.JsonUtil; |
| | | import com.nq.utils.redis.RedisShardedPoolUtils; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | IUserService iUserService; |
| | | |
| | | @Autowired |
| | | IAgentUserService iAgentUserService; |
| | | IUserAssetsServices iUserAssetsServices; |
| | | |
| | | |
| | | @Autowired |
| | |
| | | return this.iUserService.update(user); |
| | | } |
| | | |
| | | @RequestMapping("updateMoney.do") |
| | | @ResponseBody |
| | | public ServerResponse updateMoney( |
| | | @RequestParam("id") Integer id, |
| | | @RequestParam("amt") String amt, |
| | | @RequestParam("type") String type, |
| | | @RequestParam("accectType") String accectType |
| | | |
| | | ){ |
| | | return iUserAssetsServices.updateUserAssets(id,amt,type, accectType); |
| | | } |
| | | |
| | | //修改用户列表 银行卡信息 |
| | | @RequestMapping({"updateBank.do"}) |