我想做点什么
class BingWorker(object):
def __init__(self):
self.gm_worker = gearman.GearmanWorker(['localhost:4730'])
def callBing(self, gearman_worker, gearman_job):
print "In worker ", gearman_job.data
return "Kools"
def run(self):
completed_job_request = self.gm_worker.register_task('bingmedia', self.callBing)
self.gm_worker.work()
if __name__ == '__main__':
BingWorker().run()
在thymleaf中。我知道一个值,我所要做的就是
<option value="value1,value2">
如何在Thyemleaf的select选项中传递两个值。
答案 0 :(得分:0)