Esempio n. 1
0
 public async Task <MessageModel <Advertisement> > Get(int id = 0)
 {
     return(new MessageModel <Advertisement>()
     {
         msg = "获取成功",
         success = true,
         response = await _advertisementServices.QueryById(id)
     });
 }