Commit 3a27bbaa by 庄冰

needinfo

parent d292fc29
......@@ -28,9 +28,9 @@ class Mediaaggregation extends APIBase {
var self = this;
pobj.xctx = req.xctx;
pobj.clientIp = req.clientIp;
if (pobj.company_id) {
pobj["actionBody"]["company_id"] = pobj.company_id || "10";
}
// if (pobj.company_id) {
// pobj["actionBody"]["company_id"] = pobj.company_id || "10";
// }
switch (action_type) {
case "test"://测试
opResult = system.getResultSuccess("测试接口");
......
......@@ -18,7 +18,7 @@ class NeedinfoDao extends Dao{
total: 0,//总记录条数
rows: []
};
var sql = "select id,p_id,p_code,p_name,code,name,pic_url,jump_link_type,jump_link,sequence from mc_product_type where deleted_at is null and p_id = 0 order by sequence desc ";
var sql = "select id,p_id,p_code,p_name,code,name,pic_url,jump_link_type,jump_link,sequence from mc_product_type where deleted_at is null and p_id = 0 order by sequence asc ";
var list = await this.customQuery(sql, params);
for(var i=0;i<list.length;i++){
......
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