Commit df505e52 by wkliang

fix

parent 6024d42f
...@@ -84,7 +84,7 @@ class FblicenseService extends AppServiceBase { ...@@ -84,7 +84,7 @@ class FblicenseService extends AppServiceBase {
try { try {
let param = { let param = {
operator_name: data.company_name || "", operator_name: data.company_name || "",
license_number: data.license_no || "", licence_number: data.license_no || "",
region: data.base || "", region: data.base || "",
pub_year: data.pub_year || "", pub_year: data.pub_year || "",
subject_format: data.subject_format || "", subject_format: data.subject_format || "",
...@@ -93,6 +93,7 @@ class FblicenseService extends AppServiceBase { ...@@ -93,6 +93,7 @@ class FblicenseService extends AppServiceBase {
pagesize: data.pageSize || 10, pagesize: data.pageSize || 10,
sort: data.sort ? { [`${data.sort.split(" ")[0]}`]: { order: data.sort.split(' ')[1] } } : "" sort: data.sort ? { [`${data.sort.split(" ")[0]}`]: { order: data.sort.split(' ')[1] } } : ""
} }
console.log(param)
let url = `${this.fbqurl}/gsb/licence_search_condition` let url = `${this.fbqurl}/gsb/licence_search_condition`
let result = await this.restClient.execPost(param, url) let result = await this.restClient.execPost(param, url)
result = JSON.parse(result.stdout) result = JSON.parse(result.stdout)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
1. [条件搜索(获取 list)](#getList) 1. [条件搜索(获取 list)](#getList)
1. [获取详情](#getDetail) 1. [获取详情](#getDetail)
## **<a name="exactSearch"> 精确检索(首页搜索)</a>** ## **<a name="exactSearch"> 精确检索(首页搜索 已废弃)</a>**
[返回到目录](#menu) <a name="menu" href="/doc">返回主目录</a> [返回到目录](#menu) <a name="menu" href="/doc">返回主目录</a>
......
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