|
|
@@ -129,4 +129,23 @@ class IndexController extends webApp
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 币种
|
|
|
+ * @return array
|
|
|
+ */
|
|
|
+ public function country()
|
|
|
+ {
|
|
|
+ $data = [
|
|
|
+ ['code'=>'CNY','name'=>'人民币','country'=>'中国','locale'=>'zh-cn','status'=>1],
|
|
|
+ ['code'=>'MYR','name'=>'林吉特','country'=>'马来西亚','locale'=>'mal','status'=>1],
|
|
|
+ ['code'=>'VND','name'=>'越南盾','country'=>'越南','locale'=>'vie','status'=>1],
|
|
|
+ ['code'=>'THB','name'=>'泰铢','country'=>'泰国','locale'=>'tha','status'=>1],
|
|
|
+ ['code'=>'IDR','name'=>'卢比','country'=>'印度尼西亚','locale'=>'ind','status'=>1],
|
|
|
+ ['code'=>'JAY','name'=>'日元','country'=>'日本','locale'=>'jap','status'=>1],
|
|
|
+ ['code'=>'KRW','name'=>'韩元','country'=>'韩国','locale'=>'sk','status'=>1],
|
|
|
+ ['code'=>'EUR','name'=>'欧元','country'=>'法国','locale'=>'fr','status'=>1],
|
|
|
+ ['code'=>'USD','name'=>'美元','country'=>'美国','locale'=>'en','status'=>1],
|
|
|
+ ];
|
|
|
+ return showJson(1010, true, $data);
|
|
|
+ }
|
|
|
}
|