Commit 0b15ac66 by 宋毅

tj

parent 306f230a
......@@ -10,9 +10,9 @@ class UtilsAppSve extends AppServiceBase {
}
async getAppOssInfo(pobj) {
var uapp_id = Number(pobj.appInfo.uapp_id || 0);
var sql = "SSELECT uapp_id,access_key_id,access_key_secret,file_url FROM `p_app_oss` WHERE is_enabled=1 and uapp_id in(:uapp_id)";
var sql = "SELECT uapp_id,access_key_id,access_key_secret,file_url FROM `p_app_oss` WHERE is_enabled=1 and uapp_id in(:uapp_id)";
var paramWhere = { uapp_id: [uapp_id, 22] };
var list = await this.appDao(sql, paramWhere);
var list = await this.appDao.customQuery(sql, paramWhere);
if (!list) {
return system.getResult(null, "oss info to data is empty !");
}
......
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