خرید بک لینک

Vote count: 0

This most likely is a newbie question. Note that there's an if 1!=2 that doesn't work as the function prints "continues". What's wrong with the retu?

def doSomething () = {  

      val json: JsValue = JsObject(Seq(
          "ret" -> JsString("1"),
          "msg" -> JsString("Some Msg")
      ))

      if (1 != 2)
         Ok(json))

      println("continues")

      Ok(json)
}

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 17 خرداد 1395 ساعت: 17:51

صفحه بندی