|
|
@@ -11,6 +11,8 @@ import restcontroller.R;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
|
+import static common.parameter.parameter.tokensystemclientlist;
|
|
|
+
|
|
|
@API(title = "广告位管理")
|
|
|
public class adspace extends Controller {
|
|
|
public adspace(JSONObject content) throws YosException {
|
|
|
@@ -25,7 +27,7 @@ public class adspace extends Controller {
|
|
|
@API(title = "广告查询",apiversion = R.ID2026011009120502.v1.class)
|
|
|
public String query_adspacelist() throws YosException {
|
|
|
SQLFactory adspaceSQL = new SQLFactory(this, "广告位查询");
|
|
|
- adspaceSQL.addParameter("systemclient", systemclient);
|
|
|
+ adspaceSQL.addParameter("systemclient", tokensystemclientlist.get(accesstoken));
|
|
|
Rows adspacerows = dbConnect.runSqlQuery(adspaceSQL.getSQL());
|
|
|
|
|
|
QuerySQL querySQL = SQLFactory.createQuerySQL(this, "sys_roleappoptionauth", "systemappid");
|