第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

我們?nèi)绾螌⒔Y(jié)果數(shù)據(jù)從 CodeIgniter 控制器傳遞到 AngularJS 控制器?

我們?nèi)绾螌⒔Y(jié)果數(shù)據(jù)從 CodeIgniter 控制器傳遞到 AngularJS 控制器?

PHP
四季花海 2022-10-28 10:06:33
我們?nèi)绾螌⒔Y(jié)果數(shù)據(jù)從 CodeIgniter 控制器傳遞到 AngularJS 控制器?在使用 jsonSuccess 代碼的 CodeIgniter 控制器中,我將數(shù)據(jù)傳遞給 AngularJS,但我想傳遞不同的 3 個變量我需要如何傳遞它們以及如何獲取數(shù)據(jù)?codeigniter 控制器代碼:$siteName   =   $CI->config->item('siteName'); $siteURL   = site_url();        if($data['status'] == 'success')        {            $result =   $this->LowCredit_model->info($data['data']);            jsonSuccess($result,$siteName ,$siteURL,$result['succ_code'],$siteName,$siteURL);        }角控制器代碼:$scope.init     =   function() {        alert('init');            gdiztunnel.post(             'order/LowCredit', {               id: $configId             }        ).then(                function success (response) {                    response    =   response.data;                    if(response.status  ==  'success') {                        $scope.lowcreditCtrl.data = response.data;
查看完整描述

1 回答

?
qq_花開花謝_0

TA貢獻1835條經(jīng)驗 獲得超7個贊

我已經(jīng)給了你解決方案這是重復(fù)的問題


$data['siteName']   =   $CI->config->item('siteName');

$data['siteURL']   = site_url();

 if($data['status'] == 'success') {

   $data['result'] =   $this->LowCredit_model->info($data['data']);

   jsonSuccess($data);

 }


查看完整回答
反對 回復(fù) 2022-10-28
  • 1 回答
  • 0 關(guān)注
  • 119 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號